在终端克隆ohmyzh时,它说,“文件未找到。”为什么?

问题描述 投票:2回答:1

screen shot of error

这是:

 <machine>:~ techmick$ $ sh -c "$(curl -fsSL https://...)"
 bash: $: command not found

似乎有一个错误。

不知道为什么。什么可能是错的?

git terminal macos-sierra
1个回答
0
投票

确保您没有在命令前面复制$

它是一个shell提示符制作者,不应该是它的一部分。

你应该只复制并执行:

sh -c ...

不:

$ sh -c ...
© www.soinside.com 2019 - 2024. All rights reserved.