Node & NVM
// 檢查線上版本
nvm ls-remote
// 安裝node
// 安裝特定版本
nvm install v13.14.0
// 安裝穩定版
nvm install stable
// 檢查已經安裝過的node列表
nvm ls
// 移除node
nvm uninstall v14.19.2
// 切換版本
nvm use v13.14.0
NPM
-
yarn
-
npm
-
package.json
-
package-lock.json
-
Ref https://medium.com/哆啦實驗室/node-js管理神器nvm-b6acfca44ea5 https://segmentfault.com/a/1190000019037664 https://blog.csdn.net/zheng18237111686/article/details/113878602
npm http://dreamerslab.com/blog/tw/npm-basic-commands/
yarn https://segmentfault.com/a/1190000008489881 https://simpleit.rocks/javascript/yarn/how-to-search-packages-using-yarn/ https://yarnpkg.com/cli/init https://ithelp.ithome.com.tw/articles/10191888 https://ithelp.ithome.com.tw/articles/10191745 http://nodejs.cn/learn/the-package-json-guide
LTS Long Time Support Node https://www.796t.com/post/bG80Ng==.html