Skip to content

Commit

Permalink
Update the node version
Browse files Browse the repository at this point in the history
  • Loading branch information
MaryGao committed Oct 31, 2023
1 parent e9d611b commit 0cc80b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .scripts/automation_init.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/usr/bin/env bash
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
. ~/.bashrc
cat ~/.bashrc
nvm use system
Expand Down

0 comments on commit 0cc80b5

Please sign in to comment.