Symbolic representing in linux server

Search the path of actual installed packged detination. After that copy and run like below command.

which npm
which node
which pm2

sudo ln -s /home/ec2-user/.nvm/versions/node/v16.15.1/bin/npm

sudo ln -s /home/ec2-user/.nvm/versions/node/v16.15.1/bin/node

sudo ln -s /home/ec2-user/.nvm/versions/node/v16.15.1/bin/pm2

Leave a Reply

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