using Linux which command find Node.js installed path
$ which node /Users/xgqfrms-mbp/.nvm/versions/node/v12.18.0/bin/node $ which npm /Users/xgqfrms-mbp/.nvm/versions/node/v12.18.0/bin/npm $ echo $PATH # get all env paths