2024-01-25 13:14:28 -08:00
|
|
|
#!/usr/bin/env zsh
|
2024-01-23 20:51:10 -08:00
|
|
|
|
2024-01-25 13:14:28 -08:00
|
|
|
cd "$(dirname ${(%):-%x})" \
|
2024-01-23 20:51:10 -08:00
|
|
|
&& source "../script/utils.sh"
|
|
|
|
|
2024-01-25 13:14:28 -08:00
|
|
|
execute \
|
|
|
|
"if ! [ -d \"$HOME/.zsh-plugins/zsh-nvm\" ]; then git clone https://github.com/lukechilds/zsh-nvm.git ~/.zsh-plugins/zsh-nvm; fi" \
|
|
|
|
"zsh-nvm"
|
|
|
|
|
|
|
|
source "./nvm.zsh"
|
2024-01-23 20:51:10 -08:00
|
|
|
|
|
|
|
execute "nvm install lts/iron" "Node.js 20.x"
|
|
|
|
|
|
|
|
execute "nvm install lts/hydrogen" "Node.js 18.x"
|