Skip to content

Commit

Permalink
docs: add mac install instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
Chronostasys committed Nov 11, 2022
1 parent 1f7411e commit cc6848c
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions book/src/tutorial/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,19 @@ sudo apt install pivot-lang


## MacOS
目前最新版macOS上的编译器可以在我们的[release页面](https://github.com/Pivot-Studio/pivot-lang/releases)进行下载,它也许能在老版本MacOS上运行,但是我们并没有测试过
目前最新版MacOS(非英特尔芯片)上的编译器可以使用`homebrew`进行安装

在release中,`plc`程序是编译器可执行文件,下载后请将它添加到`PATH`环境变量中,之后即可运行`plc -h`进行验证。
首先你需要添加我们的homebrew tap:
```bash
brew tap pivot-studio/tap
```

然后安装pivot lang编译器:
```bash
brew install pivot-lang
```

安装完成后请按照提示设置环境变量

TODO mac文档已过期
## Docker
TODO

0 comments on commit cc6848c

Please sign in to comment.