installing node.js

If you installed yum as per a previous blog post then installing node.js to your IBM i is a cinch.

  • Open a PASE shell via the command line
  • Install node.js 10 – you can install multiple versions in parallel
yum install nodejs10
  • To allow you to call the node commands from your directories, add the open source command directory to your PATH environment variable
export PATH
  • Verify the commands now work by checking the version you installed
node -v
  • If you have multiple versions of node.js installed you can use the following command to select which one will be active
nodever list

Leave a Reply

Your email address will not be published. Required fields are marked *