npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@axetroy/dvm

v1.3.10

Published

Fast and simple version manger for Deno without runtime dependencies

Downloads

16

Readme

dvm

English | 中文简体

Build Status Go Report Card Latest Version 996.icu Repo Size

dvm

dvm is a command-line tool to manage Deno versions.

Focus on the simplest way to manage versions.

Features:

  • [x] Cross-platform support
  • [x] Easy to use
  • [x] No runtime dependencies
  • [x] Zero configuration
  • [x] Fully compatible with installed Deno

| Command | Description | | --------------------------------- | -------------------------------------------------- | | dvm current | Display currently activated version of Deno | | dvm ls | List installed versions | | dvm ls-remote | List remote versions available for install | | dvm install <version> | latest | Download and install specified/latest Deno version | | dvm uninstall <version> | Uninstall specified Deno version | | dvm use <version> | Use specified Deno version | | dvm unused | Unused Deno | | dvm exec <version> [commands] | Run Deno command on <version> | | dvm upgrade [version] | Upgrade dvm | | dvm destroy | Uninstall dvm |

Usage

Whether you have installed Deno or not will not affect the use of dvm.

# install
$ dvm install v0.26.0
$ deno -V
deno v0.26.0

# use another version
$ dvm install v0.25.0
$ dvm use v0.25.0
$ deno -V
deno v0.25.0

# uninstall deno
$ dvm uninstall v0.25.0

# for more command
$ dvm --help

Installation

If you have installed nodejs, you can install it via npm

npm install @axetroy/dvm -g

If you are using Linux/macOS. you can install it with the following command:

# install latest version
curl -fsSL -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/axetroy/dvm/master/install.sh | bash
# or install specified version
curl -fsSL -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/axetroy/dvm/master/install.sh | bash -s v1.3.10
# or install from gobinaries.com
curl -sf https://gobinaries.com/axetroy/[email protected] | sh

Or

Download the executable file for your platform at release page

Then set the environment variable.

eg, the executable file is in the ~/bin directory.

# ~/.bash_profile
export PATH="$PATH:$HOME/bin"

then, try it out.

dvm --help

Finally, to use Deno correctly, you also need to set environment variables

# ~/.bash_profile
export PATH="$PATH:$HOME/.deno/bin"

Upgrade

You can re-download the executable and overwrite the original file.

or run the following command to upgrade

$ dvm upgrade # upgrade to latest
$ dvm upgrade v0.2.0 # Update to specified version

Uninstall

run the following command to uninstall dvm or remove dvm executable file and $HOME/.dvm folder by manual

$ dvm destroy

Build from source code

Make sure you have [email protected] installed.

$ git clone https://github.com/axetroy/dvm.git $GOPATH/src/github.com/axetroy/dvm
$ cd $GOPATH/src/github.com/axetroy/dvm
$ make build

Test

$ make test

Related

justjavac/dvm Node.js implement

imbsky/dvm Reason implement

License

The Anti-996 License