asdf/README.md

38 lines
876 B
Markdown
Raw Normal View History

2014-09-29 09:51:09 -07:00
# asdf version manager
> for everything that needs a version manager
## Commands
2014-10-19 09:18:48 -07:00
asdf install <package> <version>
asdf uninstall <package> <version>
2014-11-28 21:42:18 -07:00
asdf list <package>
2014-11-29 07:46:29 -07:00
asdf list-all <package>
2014-10-19 09:18:48 -07:00
asdf use <package> <version>
2014-11-29 07:46:29 -07:00
asdf source-add <package> <source>
asdf source-remove <package>
asdf source-update --all
2014-11-29 07:46:29 -07:00
asdf source-update <package>
2014-10-19 09:18:48 -07:00
2014-11-30 03:18:49 -07:00
## `.versions` file
2014-10-19 09:18:48 -07:00
```
elixir 1.0.0
erlang 17.3
```
## Package source structure
2014-11-30 03:18:49 -07:00
A package source is a git repo, with the following executable scripts
* `bin/list-all` - lists all installable versions
* `bin/install` - installs the specified version
* `bin/uninstall` - uninstalls the specified version
* `bin/use` - uses the specified version (and also adds the version to `.versions` file in the dir)
2014-10-19 09:18:48 -07:00
2014-11-30 03:18:49 -07:00
These scripts are run when `list-all`, `install`, `uninstall` or `use` commands are run. You can set or unset env vars,