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:
|
2023-03-05 11:02:47 +00:00
|
|
|
rbenv install 3.2.1
|
|
|
|
rbenv global 3.2.1
|
2021-03-20 20:38:43 +00:00
|
|
|
|
|
|
|
# node
|
|
|
|
curl -L https://git.io/n-install | bash
|
2023-02-03 19:44:11 +00:00
|
|
|
n v8
|
2021-12-05 10:25:22 +00:00
|
|
|
n v14
|
2022-11-06 19:45:44 +00:00
|
|
|
n v16
|
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:
|
2023-03-05 11:02:47 +00:00
|
|
|
pyenv install 3.11.2
|
|
|
|
pyenv global 3.11.2
|
2021-03-20 20:38:43 +00:00
|
|
|
pip install --upgrade pip
|