Npm update node windows6/19/2023 ![]() ![]() npm -v Update Node.js on Linux and macOS (OS X)Įach line is to be issued as a single command: Whether the update was successful can be tested with the following command. Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force The following commands have to be set in Powershell (Start -> “powershell” -> right click -> Run as Administrator). ![]() Once for macOS (OSX) / Linux and once for Windows. Therefore, here are the short and concise CMD/Shell/Bash commands for updating Node.js and NPM. Every time I forget the command line commands for it. But before I start, I’d like to update to the latest version, and that’s where the dilemma starts. Every few months I write smaller projects with Node.js. ![]() Today’s article falls into the category “reminder”. ![]()
0 Comments
Leave a Reply. |