Closed. This question is not reproducible or was caused by typos。它当前不接受答案。












想改善这个问题吗?更新问题,以便将其作为on-topic用于堆栈溢出。

6年前关闭。



Improve this question




我正在尝试安装http://stagehand.pub

我将终端路径更改为:/Users/king/Desktop/dart/dart-sdk。我检查我的PATH是否已更改,然后在终端中运行echo $PATH,我得到了
green:~ king$ echo $PATH
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Users/king/Desktop/dart/dart-sdk

我输入
$ pub global activate stagehand

输出是
-bash: $: command not found
stagehand.pub上的说明很简单,但是我对此并不陌生,所以我不知道出什么问题了。

最佳答案

您需要在路径中添加.../dart-sdk/bin

09-16 10:08