The Homebrew is one of the popular package managers for MacOS. If you are using Mac, Homebrew is the package manager you can use to install different packages.Īssuming you have previously installed node with. To update Node version on Mac, use the brew upgrade node command. It will install the latest version of Node.js. The following command will install the latest version of the node. sudo npm install -g n.Īssuming you have successfully installed n. You can install the first node version and then run the following command. I assume that you already have some version of the node installed on your machine. Using NVM: A script-based node version manager.Using Homebrew: Type this command: brew upgrade node.Using N: An npm-based node version manager.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |