dotfiles/node/volta.fish

13 lines
351 B
Fish
Raw Normal View History

2024-01-29 17:23:33 -08:00
#!/usr/bin/env fish
2024-01-25 14:27:41 -08:00
2024-01-29 17:23:33 -08:00
source "$DOT/script/utils.fish"
2024-01-25 14:27:41 -08:00
2024-02-03 12:05:02 -08:00
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2024-01-25 14:27:41 -08:00
print_title "Volta & Node.js"
2024-02-03 12:05:02 -08:00
execute "curl https://get.volta.sh | bash -s -- --skip-setup" Volta
2024-01-25 14:27:41 -08:00
execute "if ! cmd_exists 'volta'; source $DOT/node/path.config.fish; end && volta install node" \
"Node.js LTS"