With nvm
tool one can execute nvm use 6
to select the latest installed node.js v6. How would I do the same using the n
CLI tool?
The command(s) will be executed on the CI.
n 6
will install (activate) the newest version of node 6.
Or n install 6
if you prefer a more readable command.
You can specify partial version numbers with n
and it will use the newest matching version.