dvm
dvm copied to clipboard
Dart Version Manager
dvm: Dart Version Manager
A minimal tool for managing Dart SDK versions.
Installing
In your home directory, run:
git clone https://github.com/cbracken/dvm.git .dvm
Add the following to your .bashrc or .zshrc:
if [[ -f ~/.dvm/scripts/dvm ]]; then
. ~/.dvm/scripts/dvm
fi
Optionally, installation in a custom location is supported by setting and
exporting DVM_ROOT in your environment prior to the above invocation.
Usage
Commands:
alias: manage Dart version aliaseshelp: display usageimplode: delete dvm and all installed Dart versionsinstall: install a Dart versionlist: list installed Dart versionslistall: list all available Dart versions (--devfor dev channel)upgrade: upgrade dvm to the latest versionuse: select a Dart version to use (--defaultto set as default)version: Display the dvm version number
Uninstalling
To remove dvm and all installed Dart versions:
dvm implode
Credits
Inspired by gvm.