Skip to content

Commit

Permalink
Comments on node update script
Browse files Browse the repository at this point in the history
  • Loading branch information
MStolen committed Jan 17, 2024
1 parent 12cb411 commit 50fc610
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/update_node.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,13 @@ then
echo "Install node version manager from https://github.com/nvm-sh/nvm"
exit 1
fi

# Install/update Node and npm
source ~/.nvm/nvm.sh
nvm install --lts=iron --latest-npm # Install LTS version 20.x.x of node
nvm alias default lts/iron # set default to be LTS version

# Install/update pnpm
if ! command -v pnpm &> /dev/null # check if pnpm is installed
then
# install pnpm
Expand Down

0 comments on commit 50fc610

Please sign in to comment.