You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add PATH setting your shell config file (.bashrc or .zshrc).
export PATH=$HOME/.crystalbrew/current/bin:$PATH
Reload config.
$ source ~/.bashrc
Confirm.
$ crystalbrew help
Usage
Please see help.
$ crystalbrew --help
crystalbrew 0.1.0
Usage:
crystalbrew help Show this message
crystalbrew install <version> Download and install a <version> (binary file)
crystalbrew uninstall <version> Uninstall a version
crystalbrew use <version> Use <version>
crystalbrew list List installed versions
crystalbrew ls Alias for `list`
crystalbrew ls-remote List remote versions
crystalbrew ls-all List remote and installed versions
crystalbrew alias <key> <version> Set alias to version
crystalbrew unalias <key> Remove alias
crystalbrew clean <version> | all Remove source file
crystalbrew selfupdate Update crystalbrew
crystalbrew exec <version> -- <command> Execute <command> specified <version>
Example:
# install from binary
crystalbrew install v0.7.4
Development
Install module for testing.
$ carton install
Run test.
$ carton exec -- prove -lvr
If you installed direnv, you could run prove without prefix.