Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Now, instead of installing node.js from the official website, we should install the Node Version Manager and download node versions from there. In case you already have node installed this should not be a major problem as NVM will overwrite any node-related environment variables and symlinks, but I'd recommend you to uninstall it anyway as this process will render the current installation completely useless. Go to the NVM for windows project page and download the latest available version's nvm-setup.zip from the releases page. Note that this is not the same as the UNIX-based NVM project, although it is functionally equivalent. "Similar, not identical" as the project itself discloses. Unzip the folder's contents and run nvm-setup.exe. You'll be prompted to agree with the project's terms of use (currently it's the MIT License), then the installer will ask where to install nvm, which will also be the same location as the downloaded node versions and their globally-enabled packages; the roaming app data folder under your current user should be perfectly fine. However, you'll then be prompted to indicate where to keep the node.js symlink, and (at least in versions up to 1.1.8) there's a catch: you cannot keep the symlink under a path which contains whitespaces, and unfortunately the default installation path (currently C:\Program Files\nodejs) steps right into this trap.
Now, instead of installing node.js from the official website, we should install the Node Version Manager and download node versions from there. In case you already have node installed this should not be a major problem as NVM will overwrite any node-related environment variables and symlinks, but I'd recommend you to uninstall it anyway as this process will render the current installation completely useless. Go to the NVM for windows project page and download the latest available version's nvm-setup.zip from the releases page. Note that this is not the same as the UNIX-based NVM project, although it is functionally equivalent. "Similar, not identical" as the project itself discloses. Unzip the folder's contents and run nvm-setup.exe. You'll be prompted to agree with the project's terms of use (currently it's the MIT License), then the installer will ask where to install nvm, which will also be the same location as the downloaded node versions and their globally-enabled packages; the roaming app data folder under your current user should be perfectly fine. However, you'll then be prompted to indicate where to keep the node.js symlink, and (at least in versions up to 1.1.8) there's a catch: you cannot keep the symlink under a path which contains whitespaces, and unfortunately the default installation path (currently C:\Program Files\nodejs) steps right into this trap.