This commit is contained in:
light
2019-05-31 00:28:41 +08:00
parent e9a15272a6
commit 36a9f7986d
4 changed files with 66 additions and 1 deletions
+16 -1
View File
@@ -26,4 +26,19 @@ npm config get registry
- if old nodejs still exist
> sudo apt-get purge nodejs
> sudo apt-get purge nodejs
### node && yarn
```bash
# yarn
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update && sudo apt-get install yarn
sudo yarn global add n
sudo n stable
```