Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cbracken/dvm
Dart Version Manager
https://github.com/cbracken/dvm
dart version-manager
Last synced: 8 days ago
JSON representation
Dart Version Manager
- Host: GitHub
- URL: https://github.com/cbracken/dvm
- Owner: cbracken
- License: apache-2.0
- Created: 2015-12-19T08:42:31.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2024-05-26T15:51:29.000Z (6 months ago)
- Last Synced: 2024-10-18T21:32:54.465Z (20 days ago)
- Topics: dart, version-manager
- Language: Shell
- Homepage:
- Size: 41 KB
- Stars: 93
- Watchers: 5
- Forks: 12
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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).