run npm command gives error "/usr/bin/env: node: No such file or directory"

After installing node from ubuntu package manager

ln -s /usr/bin/nodejs /usr/bin/node

EACCES: permission denied, mkdir

Trying bower install

sudo bower install --allow-root