Dotty version manager(dvm). Dotty is a next-generation compiler for Scala.
Add the following code to your shell configuration files such as .bashrc
or .bash_profile
.
$ export PATH=$PATH:$HOME/.dvm/now/dotty/bin
You have already installed npm, you can install via npm.
$ npm install -g d-ogxwx/dvm
If you already have curl command, you can install via curl.
curl -fL https://git.io/dotty-version-manager -o dvm && chmod +x dvm
Usage: dvm [options] [COMMAND]
Commands:
dvm install <version> Install a specific dotty version.
dvm install [-i|-interactive] Install a specific dotty version(interactive mode).
dvm now-version Show an currently version on dvm.
dvm now-version [-a|all] Show an currently version and all cached versions on dvm.
dvm checkout <version> Switch to a specific version cached on dvm.
dvm checkout [-i|-interactive] Switch to a specific version cached on dvm(interactive mode).
dvm rm <version> Remove a specific dotty version.