![]() So, open your command terminal, you can do that by searching for it in Spotlight or by going to Applications -> Utilities -> Terminal. Step 1: It is better to first know which version of Node.js is running on our macOS. Step 5: Although updating Node.js will also install the updated version of NPM, however, if you want to update it individually then here is the command to use: npm install -g Update Node.js and NPM on macOS: Step 4: Once the installation is complete, again check the version of Node.js to confirm the updated version by typing the command: node -v winget install įor Current release: winget install OpenJS.NodeJSįor Nightly build or still in the testing stage: winget install Step 3: If your current version of Node.js is outdated then you have to download the latest version either by visiting the official website of Node.js or with the help of the given command line.įor Node.JS long-term release version. Step 2: Now, let’s check which version of Node.js is currently installed by typing the following command in the prompt: node -v ![]() For that, you can search for CMD and open it as Admin or by pressing Win key + R and typing cmd in the run box, after that press the shift+Alt key and hit the Enter key. Step 1: On your Windows 10 or 11, first open the command terminal. Updating Node.js and NPM version on Linux: Updating Node.js and NPM on Windows:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |