-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
更新Mac的安装教程 #2230
base: main
Are you sure you want to change the base?
更新Mac的安装教程 #2230
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -65,6 +65,39 @@ cp target/debug/rooch.exe ~/.cargo/bin/ | |||
``` | |||
|
|||
### macOS | |||
#### 第一步,从 [github release page](https://github.com/rooch-network/rooch/releases) 下载 | |||
`rooch-macos-latest.zip`,解压文件并将二进制文件移动到 `~/.local/bin/` 中 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这不属于编译安装
#### 第一步,从 [github release page](https://github.com/rooch-network/rooch/releases) 下载 | ||
`rooch-macos-latest.zip`,解压文件并将二进制文件移动到 `~/.local/bin/` 中 | ||
|
||
#### 第二步,克隆源码 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这是第一步
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
建议像本文档前面部分关于 linux 安装步骤的描述修改 mac 相关的步骤
``` | ||
如果遇到报错 | ||
```shell | ||
Error: Could not find `protoc`. If `protoc` is installed, try setting the `PROTOC` environment variable to the path of the `protoc` binary. To install it on macOS, run `brew install protobuf`. It is also available at https://github.com/protocolbuffers/protobuf/releases For more information: https://docs.rs/prost-build/#sourcing-protoc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这属于依赖,参考其它 platform 的描述
``` | ||
如果运行的时候出现下面报错 | ||
```shell | ||
zsh: command not found: rooch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
zsh 只是一种 shell,这里没必要描述 $PATH 配置
Summary
更新Mac的安装教程