Skip to content

pine/crystalbrew

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

crystalbrew

Build Status

Crystal version manager.

Install

One liner curl install.

$ curl -L j.mp/crystalbrew | perl - setup

Or, download and setup.

$ wget j.mp/crystalbrew
$ perl crystalbrew setup

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.

Acknowledgement

Author

Pine Mizune

About

💎 [DEPRECATED] Crystal version manager.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages