Coffeescript 咖啡脚本的npm默认位置有变化吗?

Coffeescript 咖啡脚本的npm默认位置有变化吗?,coffeescript,Coffeescript,我发现我在运行一个旧版本的咖啡脚本 所以我决定重新安装它: npm install -g coffee-script 但它似乎并没有更新咖啡 我注意到npm在这里安装了咖啡: usr/local/share/npm/bin/coffee -> /usr/local/share/npm/lib/node_modules/coffee-script/bin/coffee 但我的道路上的咖啡是 /usr/local/bin/coffee -> ../lib/node

我发现我在运行一个旧版本的咖啡脚本

所以我决定重新安装它:

npm install -g coffee-script
但它似乎并没有更新咖啡

我注意到npm在这里安装了咖啡:

usr/local/share/npm/bin/coffee -> 
    /usr/local/share/npm/lib/node_modules/coffee-script/bin/coffee
但我的道路上的咖啡是

/usr/local/bin/coffee -> 
    ../lib/node_modules/coffee-script/bin/coffee
好吧,几个月前我用npm安装了coffeescript。 但现在npm正把它放在一条全新的道路上

安装时coffeescript的默认位置是否有更改
通过Mac OS X上的npm?

刚刚在一台新机器上安装了coffescript,我在usr/local/lib/node_modules/coffescript上获得了它。它似乎更改了路径,因为它是作为其他计算机/帐户的共享安装的。请注意路径usr/local/share