14-11-2023
This commit is contained in:
@@ -2,16 +2,30 @@
|
||||
|
||||
|
||||
|
||||
#### Paquets Synology
|
||||
|
||||
```bash
|
||||
bruno@DS916:/volume1/@appstore/Node.js_v18/usr/local $ cd bin/
|
||||
total 47520
|
||||
drwxr-xr-x 1 root root 30 Oct 26 2022 .
|
||||
drwxr-xr-x 1 root root 18 Oct 26 2022 ..
|
||||
lrwxrwxrwx 1 root root 45 Oct 26 2022 corepack -> ../lib/node_modules/corepack/dist/corepack.js
|
||||
-rwxr-xr-x 1 root root 48651256 Oct 26 2022 node
|
||||
lrwxrwxrwx 1 root root 38 Oct 26 2022 npx -> ../lib/node_modules/npm/bin/npx-cli.js
|
||||
```
|
||||
|
||||
|
||||
|
||||
### Installer nvm
|
||||
|
||||
```bash
|
||||
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
|
||||
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
|
||||
```
|
||||
|
||||
Installer node=lts/fermium (ou mettre-à-jour)
|
||||
|
||||
```bash
|
||||
nvm install --lts=fermium
|
||||
nvm install --lts=hydrogen
|
||||
```
|
||||
|
||||
Mettre-à-jour npm:
|
||||
|
||||
Reference in New Issue
Block a user