Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to update node on mac

#this will update postgres and dependencies and 
#sometimes will be enough.  check version after
brew update
brew upgrade node
node --version # outputs: v12.x.x
#not the version i wanted so list packages
nvm ls
#Find the version I want, says N/A: default -> 16.15.1 (-> N/A)
nvm install 16.15.1
node --version # outputs: v16.15.1 !hooray!
 
PREVIOUS NEXT
Tagged: #update #node #mac
ADD COMMENT
Topic
Name
1+7 =