i am trying to install yeoman on my server but for some reason do i keep getting a permission denied error.
$npm install -g yo /root/.node/bin/yo -> /root
To avoid permission errors, install node with nvm.
See the detailed solution here: npm install g less does not work