未验证 提交 792bf562 编写于 作者: H Herald Yu 提交者: GitHub

Docs: update install juicefs via homebrew (#804)

* Docs: update install juicefs via homebrew

* update en version

* Update juicefs_on_macos.md
Co-authored-by: NChangjian Gao <gcj@juicedata.io>
上级 16347a81
......@@ -8,6 +8,24 @@ JuiceFS supports creating and mounting file systems in macOS. But you need to in
## 2. Install JuiceFS on macOS
There are three ways to install the JuiceFS client on macOS.
### Homebrew
First, add the Tap:
```bash
$ brew tap juicedata/homebrew-tap
```
Then, install the client:
```bash
$ brew install juicefs
```
### Pre-compiled version
You can download the latest pre-compiled binary program from [here](https://github.com/juicedata/juicefs/releases/latest), download the compressed package containing `darwin-amd64` in the file name, for example:
```shell
......@@ -22,7 +40,11 @@ $ tar -zxf "juicefs-${JFS_LATEST_TAG}-darwin-amd64.tar.gz"
$ sudo install juicefs /usr/local/bin
```
> **Note**: You can also build the JuiceFS client manually from the source code. [Learn more](client_compile_and_upgrade.md)
> **Note**: Apple M1 chip can directly use the pre-compiled version of `darwin-amd64`, and macOS will automatically translate it through Rosetta 2. If you want to use the native version for M1, please compile it yourself.
### Compile from source
You can also build the JuiceFS client manually from the source code. [Learn more](client_compile_and_upgrade.md)
## 3. Mount JuiceFS file system
......
......@@ -8,6 +8,24 @@ JuiceFS 支持在 macOS 系统中创建和挂载文件系统。但你需要先
## 2. macOS 上安装 JuiceFS
您可以参考以下三种方法在 macOS 系统上安装 JuiceFS 客户端。
### 通过 Homebrew 安装
第一步,添加 Tap:
```bash
$ brew tap juicedata/homebrew-tap
```
第二步,安装客户端:
```bash
$ brew install juicefs
```
### 手动安装
你可以在 [这里下载](https://github.com/juicedata/juicefs/releases/latest) 最新的预编译的二进制程序,下载文件名包含 `darwin-amd64` 的压缩包,例如:
```shell
......@@ -22,7 +40,11 @@ $ tar -zxf "juicefs-${JFS_LATEST_TAG}-darwin-amd64.tar.gz"
$ sudo install juicefs /usr/local/bin
```
> **提示**:你也可以从源代码手动编译 JuiceFS 客户端。[查看详情](client_compile_and_upgrade.md)
> **注意**:Apple M1 芯片也可以直接使用 `darwin-amd64` 架构的预编译版本,macOS 会自动通过 Rosetta 2 转译。如果希望使用 M1 原生版本,可以自行编译安装。
### 编译安装
你也可以从源代码手动编译 JuiceFS 客户端,[查看详情](client_compile_and_upgrade.md)
## 3. 挂载 JuiceFS 文件系统
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册