Skip to content
This repository has been archived by the owner on Aug 24, 2024. It is now read-only.

Commit

Permalink
Update install
Browse files Browse the repository at this point in the history
  • Loading branch information
jiacai2050 committed Oct 15, 2023
1 parent fc08911 commit 74c0786
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions 01-installing-zig.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,10 @@ Zig 官网的[下载页面](https://ziglang.org/download/)中包含常见平台
对于我的电脑,我会下载 `zig-macos-aarch64-0.12.0-dev.161+6a5463951.tar.xz`。你使用的可能是不同的平台或更新的版本。展开压缩包,这里面会有一个名为 `zig` 的二进制文件,你可以按照自己喜欢的方式,为其设置别名(alias)或添加到你的路径(PATH)中。

现在,你可以运行 `zig zen``zig version` 来测试是否安装正确。

> 译者注:建议读者使用版本管理工具来安装 Zig,社区内目前主要有以下几个:
- [asdf-community/asdf-zig](https://github.com/asdf-community/asdf-zig)
- [marler8997/zigup](https://github.com/marler8997/zigup)
- [tristanisham/zvm](https://github.com/tristanisham/zvm)
- [hendriknielaender/zvm](https://github.com/hendriknielaender/zvm)

0 comments on commit 74c0786

Please sign in to comment.