update
This commit is contained in:
+16
-1
@@ -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
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user