确保/usr/local/bin在Mac上的$ PATH中 [英] Making sure /usr/local/bin is in my $PATH on mac
问题描述
我已经使用Macintosh的最新安装程序安装了Macintosh的node.js.现在,我要按照安装程序的指示检查/usr/local/bin是否在我的$ PATH中.我已经打开了终端应用程序并在网上研究了帮助,但是我对如何完成上述操作,然后开始node.js流程迷失了.谁能解决这个问题?非常感谢.
I've installed node.js for Macintosh using the lastest installer for Macintosh. I now want to check that /usr/local/bin is in my $PATH, as the installer instructed. I've opened up the Terminal application and researched help on the net, but I'm lost, as to how to accomplish the above, then start the node.js process. Can anyone clear this up? Thank you for very much.
推荐答案
echo $ PATH
将显示您的路径.如果您在某些冒号之间看到/usr/local/bin
,那么它就在您的路径中.
echo $PATH
will print your path. If you see /usr/local/bin
between some colons, then it's in your path.
这篇关于确保/usr/local/bin在Mac上的$ PATH中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!