Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cbracken/dvm

Dart Version Manager
https://github.com/cbracken/dvm

dart version-manager

Last synced: 11 days ago
JSON representation

Dart Version Manager

Awesome Lists containing this project

README

        

dvm: Dart Version Manager
=========================

A minimal tool for managing Dart SDK versions.

## Installing

In your home directory, run:
```sh
git clone https://github.com/cbracken/dvm.git .dvm
```

Add the following to your `.bashrc` or `.zshrc`:
```sh
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 aliases
* `help`: display usage
* `implode`: delete dvm and all installed Dart versions
* `install`: install a Dart version
* `list`: list installed Dart versions
* `listall`: list all available Dart versions (`--dev` for dev channel)
* `upgrade`: upgrade dvm to the latest version
* `use`: select a Dart version to use (`--default` to set as default)
* `version`: Display the dvm version number

## Uninstalling

To remove dvm and all installed Dart versions:

```sh
dvm implode
```

## Credits

Inspired by [gvm](https://github.com/moovweb/gvm).