![]() ![]() To install the latest version of Node.js you can run the following command. The latest installer for the nvm-windows can be found on the coreybutler GitHub account here. Also make sure to delete Node.js installation related files on this location “C:\Program Files\nodejs”. Note: If you happen to have Node.js installed on your machine, uninstall it now to avoid conflicts and confusion. I have chosen to use nvm-windows because it has good backing from Microsoft and Google. Ability to manage and have unique global npm packages □įor this guide, I will use the node version manager known as nvm-windows.You don’t need to uninstall older versions of node whenever you want to install a newer version.Allows you to experiment with any version of Node.js without affecting other projects on your machine. ![]() Some of the advantages of using a node version manager include: ![]() Advantages of using a node version manager With a node version manager, you can install and switch between multiple versions of Node.js based on the needs of the different projects you are working on. Installing Node.js via this method allows you to only have a single installed version of Node.js at a time on your machine.īut what do you do if you are working on several projects where each project requires a different version of Node.js to run smoothly? The default and most common way of installing Node.js on a Windows PC is via a Node.js installer. If you are a front-end developer chances are high that you have worked with Node.js in one way or the other. It is widely used for both front-end and back-end software development. Node.js is a popular, open-source, cross-platform JavaScript run time environment. This post is a step-by-step guide on the recommended method of installing Node.js on a Windows PC using a Node Version Manager, popularly known as nvm. Photo by Caspar Camille Rubin on Unsplash ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |