export PATH=/usr/local/share/npm/bin:$PATH. isn't a terrible idea. Having said that, you shouldn't have to do it. Run this: npm config get prefix.
確定! 回上一頁