2021-03-20 20:38:43 +00:00
|
|
|
#!/usr/bin/env zsh
|
|
|
|
|
2022-04-25 10:19:06 +00:00
|
|
|
# ruby
|
2021-03-20 20:38:43 +00:00
|
|
|
brew install rbenv # restart terminal, then:
|
2022-04-25 10:19:06 +00:00
|
|
|
rbenv install 3.1.2
|
|
|
|
rbenv global 3.1.2
|
2021-03-20 20:38:43 +00:00
|
|
|
|
|
|
|
# node
|
|
|
|
curl -L https://git.io/n-install | bash
|
2021-12-05 10:25:22 +00:00
|
|
|
n v14
|
2021-03-20 20:38:43 +00:00
|
|
|
n lts
|
|
|
|
npm install -g npm@latest
|
|
|
|
npm update -g
|
|
|
|
|
|
|
|
# python
|
|
|
|
# first: find out the current python3 version in homebrew
|
|
|
|
# then install this version with pyenv and link it
|
|
|
|
brew install pyenv # restart terminal, then:
|
2022-09-10 15:21:18 +00:00
|
|
|
pyenv install 3.10.6
|
|
|
|
pyenv global 3.10.6
|
2021-03-20 20:38:43 +00:00
|
|
|
pip install --upgrade pip
|