Install npm (Node.js Package Manager) on Windows (w/o using Node.js MSI)

前端 未结 11 2017
孤独总比滥情好
孤独总比滥情好 2020-12-23 12:53

The problem: while using nvm to install Node.js I was able to install the version of Node.js I need, but nvm does not install npm auto

11条回答
  •  不思量自难忘°
    2020-12-23 13:13

    If you're running Windows 10 Creators Update (1703) and are comfortable navigating around a Unix terminal, you could potentially achieve this using the native Feature Bash on Ubuntu on Windows (aka Bash/WSL)

    This was originally introduced on the launch of Build 2016 but many additions and bug fixes were addressed at the Creators update but please be warned this is still in Beta.

    To enable simply navigate to Control Panel\All Control Panel Items\Programs and Features\Turn Windows features on or off

    Then select the Windows Subsystem for Linux (Beta) as below Bash on Windows Feature

提交回复
热议问题