I'm trying to install and create environment variables for node.js.
I know it can be installed via docker, but not sure how I would create environment variables for a docker container, so I tried running manually.
I've unpacked node.js (linux / arm64) and used the export command in bash:
Code
export NODEJS_HOME=/storage/nodejs/node-v10.15.3-linux-arm64
export PATH=$PATH:$NODEJS_HOME/bin
echo `node -v`
This doesn't work even within the same bash script; it says node can't be found.
I'm a complete newb, sorry if the solution is obvious... thanks for any help.