version manger for Deno
Features:
- Cross platform support
- Easy to use
- No runtime dependencies (This is why it is not written in nodejs)
# install
$ dvm install v0.26.0
$ deno --version
deno v0.26.0
# use another version
$ dvm install v0.25.0
$ dvm use v0.25
$ deno --version
deno v0.25.0
# uninstall deno
$ dvm uninstall v0.25.0
# for more command
$ dvm --help
If you are using Linux/MacOS. you can install it with following command:
# install latest version
wget -qO- https://raw.githubusercontent.com/axetroy/dvm/master/install.sh | bash
# or install specified version
wget -qO- https://raw.githubusercontent.com/axetroy/dvm/master/install.sh | bash -s v0.1.0
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:~/bin"
finally, try it out.
dvm --help
You can re-download the executable and overwrite the original file.
or type the following command to upgrade to the latest version.
> dvm upgrade
run the following command to uninstall dvm
or remove dvm
executable file and $HOME/.dvm
folder by manual
$ dvm destroy
make test
The MIT License