Crystal Ball
A super simple crystal version manager for MacOS
NOTE The latest version only works for the universal packages which are crystal releases after 1.1.1
Requirements
You will need openssl 1.1 - the easiest way is to:
brew update
brew install [email protected]
echo 'export PATH="/usr/local/opt/[email protected]/bin:$PATH"' >> ~/.bash_profile
# Verify
openssl version
Installation
Quick Version
download the ball
binary
curl -fsSL https://raw.githubusercontent.com/kingsleyh/ball/master/ball > ball
set executable permissions and put on your path
chmod +x ./ball && cp ./ball /usr/local/bin
Longer Version
clone this repository and run:
shards install && shards build --release --no-debug
Then copy the binary onto your path e.g.
cp bin/ball /usr/local/bin
For this app to work you must have /usr/local/bin
on your path. The native crystal installer uses this path so it's convenient to follow the same pattern.
Usage
ball --show # shows a list of install versions
ball --install 0.30.1 # installs and uses the specified version
ball --clean # removes all installs and symlinks
Contributing
- Fork it (https://github.com/your-github-user/ball/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- Kingsley Hendrickse - creator and maintainer