![]() ![]() You can install a new Node.js version or basically any Node.js version using nvm install, like nvm install 10.16.3 or just install the latest LTS version with nvm install node.Īfter installing the node version you want to use, you have to switch to it with nvm us, like nvm use 10.16.3 or nvm use -lts. If you have used nvm to install Node.js, upgrading to a new version is one line. The recommended way to install Node is via NVM (Node Version Manager), because you can manage multiple versions of Node.js. Hence, you just download the LTS version that fits your use case and run the installer. ![]() If you installed Node.js via downloading the official package, the package will already contain an installer which detects an existing version of Node.js. Image credit: Node.js Releases Updating Node.jsįor updating Node.js there are several options available depending on the way you first installed it. ![]() Use only Active LTS or Maintenance LTS releases in production. After six months, odd-numbered releases (9, 11, etc.) become unsupported, and even-numbered releases (10, 12, etc.) move to Active LTS status and are ready for general use. Major Node.js versions enter Current release status for six months.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |