Remember that you'll need to restart cmd.exe (and potentially restart Windows) when you make changes to PATH or how npm is installed. Option 1: edit your Windows installation's PATH to put %appdata%\npm before %ProgramFiles%\nodejs. On your PATH, it will always use the version of npm installed with node instead of the version of npm you installed using npm -g install get around this, you can do one of the following: Npm's globally installed packages (including, potentially, npm itself) are stored separately in a user-specific directory (which is currently You can upgrade to the latest version of npm using: npm install -g Upgrading on Windowsīy default, npm is installed alongside node in (You may need to prefix these commands with sudo, especially on Linux, or OS X if you installed Node using its default installer.) See what version of npm you're running npm -v Upgrading on *nix (OSX, Linux, etc.) A brief note on the built-in Windows configuration
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |