Note | ||
---|---|---|
| ||
As of July 25th, 2023, there is a content freeze on this page. |
Node.js runs in the PASE environment on IBM i, like many other open source technologies. The steps on this page can be used to verify that Node.js has been properly installed.
...
Code Block | ||
---|---|---|
| ||
PATH=/QOpenSys/pkgs/bin:$PATH export PATH |
...
Anchor |
---|
...
|
If you have multiple versions of Node.js installed, you can select a specific version to use during your session with the following command:
...
Note |
---|
The previous way of doing this (by using 'nodever list') is deprecated and has been replaced with 'update-alternatives'. While 'nodever' should still work properly if installed, we recommend using the new 'update-alternatives' method instead. There's more information about 'update-alternatives' here: https://ibmsystemsmagtechchannel.com/Power-SystemsSMB/05/2020/update-alternatives. |
Step 4: Checking the Version of Node.js
...