This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# basic-system-languages.sh: ruby & python | |
brew install pyenv rbenv | |
cat <<EOF >>~/.zshrc | |
eval "$(pyenv init -)" | |
eval "$(rbenv init -)" | |
EOF | |
pyenv init - && pyenv install 3.10:latest && pyenv rehash | |
rbenv init - && rbenv install $(rbenv install -L | grep -v - | tail -1) && rbenv rehash |