這裡介紹如何更改 npm 的 prefix 設定,解決安裝global 套件老是需要 root ... 則會建立在 ~/.local/bin 之下,這種方式同時適用於Linux 與Mac 系統。
確定! 回上一頁