Skip to content
This repository has been archived by the owner on Feb 20, 2024. It is now read-only.

d-ogxwx/dvm

Repository files navigation

CI Status

Dotty version manager

Dotty version manager(dvm). Dotty is a next-generation compiler for Scala.

Configuration

Add the following code to your shell configuration files such as .bashrc or .bash_profile.

$ export PATH=$PATH:$HOME/.dvm/now/dotty/bin

Installation

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

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.