Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pine/crystalbrew
:gem: [DEPRECATED] Crystal version manager.
https://github.com/pine/crystalbrew
Last synced: 26 days ago
JSON representation
:gem: [DEPRECATED] Crystal version manager.
- Host: GitHub
- URL: https://github.com/pine/crystalbrew
- Owner: pine
- License: mit
- Created: 2015-06-25T12:34:53.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-06-27T09:03:21.000Z (over 9 years ago)
- Last Synced: 2024-04-15T15:34:26.721Z (7 months ago)
- Language: Perl
- Homepage: https://github.com/pine613/crenv
- Size: 217 KB
- Stars: 14
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
crystalbrew
-----------[![Build Status](https://travis-ci.org/pine613/crystalbrew.svg?branch=master)](https://travis-ci.org/pine613/crystalbrew)
[Crystal](http://crystal-lang.org/) 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.0Usage:
crystalbrew help Show this message
crystalbrew install Download and install a (binary file)
crystalbrew uninstall Uninstall a version
crystalbrew use Use
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 Set alias to version
crystalbrew unalias Remove alias
crystalbrew clean | all Remove source file
crystalbrew selfupdate Update crystalbrew
crystalbrew exec -- Execute specifiedExample:
# 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](https://github.com/zimbatm/direnv), you could run `prove` without prefix.
## Acknowledgement
- [hokaccha](https://github.com/hokaccha)
crystalbrew is based [nodebrew](https://github.com/hokaccha/nodebrew). Thank you.## Author
Pine Mizune