Tag: npm
sudo port install npm
It is not recommended to install packages globally. But if you do so please be aware that they won't get cleaned up when you deactivate or uninstall npm. Globally installed packages will remain in /opt/local/lib/node_modules/ until you manually delete them.