1. 安裝相關套件
Node.js 6.x
sudo apt-get update sudo apt-get install curl curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash - sudo apt-get install nodejs sudo apt-get install build-essential
官方參考網站: Debian and Ubuntu based Linux distributions
2. 相關設定檔
(N/A)
3. 資源管理
(N/A)
4. 測試
4.1. 查看 Node.js 版本
cy@cysrv:~$ node --version v6.9.4
4.1. 查看 npm 版本
cy@cysrv:~$ npm --version 3.10.10
沒有留言:
張貼留言