Try   HackMD

Node.js npm 更新方式

  • 作業系統: Windows 10

更新Node.js

  1. 到官網[下載Node.js]
    (https://nodejs.org/en/download) LTS(Long-term-support) Windows Installer msi檔
    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →
  2. 安裝執行(Next繼續)
  3. 出現此視窗可以不用勾選,勾選的話會安裝Chocolatey
    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →
  4. 完成後,輸入node --version查看版本
    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

更新NPM

  1. 直接打開Command Line,並輸入: npm install -g npm
    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →
  2. 完成後,輸入npm --version查看版本
    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →