Skip to content

Commit 32a44c2

Browse files
authored
Fix migration nodejs (#23)
1 parent 82a94d9 commit 32a44c2

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

docs/migration.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,21 @@ theses services are now part as side containers and can be activated using envir
2424

2525
## Update nodejs version
2626

27-
We are no longer using nvm to change nodejs version, inside you should follow the example below.
27+
We are no longer using nvm to change nodejs version.
28+
If in your configuration, you are using something like this
2829

29-
```xml
30-
sh $(NVM_DIR)/nvm.sh
31-
sudo su -c "source /etc/profile ; nvm install 10.16.3 -reinstall-packages-from=v5.4.1 ; nvm alias default 10.16.3 ; nvm list"
30+
`sudo su -c "source /etc/profile ; nvm install 10.16.3 -reinstall-packages-from=v5.4.1"`
31+
32+
You must replace it by using `n` progam (more information on https://github.com/tj/n)
33+
34+
```bash
35+
n lts
36+
OR
37+
n 12.16
38+
OR
39+
n 12.16.1
3240
```
41+
3342
## Missing commands
3443

3544
Commands listed below are missing:

0 commit comments

Comments
 (0)