Before you know it, deno has quietly released three versions:
- 0.1.0 from
- while
- 0.1.2
Last night I worked on a deno multi-version management tool: DVM. Github address: github.com/justjavac/d…
Function basic reference NVM.
The installation
npm install -g dvm
Copy the code
use
➜ ~ dvm --help
Usage: dvm [options] [command]
Options:
-v, --version output the version number
-d, --debug Print verbose infos for debug
-h, --help output usage information
Commands:
arch Show if deno is running in 32 or 64 bit mode
list List all installed versions
install <version> Install deno <version>
use [version] Switch to use the specified version
Copy the code
On Windows, you need to open the command line or PowerShell with administrator rights
The sample
Lists all installed versions
➜ ~ dvm list
0.1.0
* 0.1.1
0.1.2
Copy the code
The asterisk (*) indicates the version currently in use.
Switch version
➜ ~ dvm use 0.1.2
now use 0.1.2
➜ ~ dvm use 0.0.2
deno v0.0.2 is not installed. Use `dvm install 0.0.2` to install it first.
Copy the code
The current function is relatively simple, bug is also many, welcome issue github.com/justjavac/d…