From 7633e70dc89d7d0511a0bd134b1b619ae52cd083 Mon Sep 17 00:00:00 2001 From: zhijian Date: Tue, 15 Aug 2023 10:50:36 +0800 Subject: [PATCH] doc: updated install script description (#3999) close #https://github.com/juicedata/juicefs/issues/3975 --- docs/en/getting-started/installation.md | 6 ++++++ docs/zh_cn/getting-started/installation.md | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/docs/en/getting-started/installation.md b/docs/en/getting-started/installation.md index 5a8aa5a242b9..d6f86d817337 100644 --- a/docs/en/getting-started/installation.md +++ b/docs/en/getting-started/installation.md @@ -15,9 +15,15 @@ The JuiceFS client has only one binary file, you can download the pre-compiled v The one-click installation script is available for Linux and macOS systems and will automatically download and install the latest version of the JuiceFS client based on your hardware architecture. ```shell +# default installation path is /usr/local/bin curl -sSL https://d.juicefs.com/install | sh - ``` +```shell +# install to /tmp directory +curl -sSL https://d.juicefs.com/install | sh -s /tmp +``` + ## Install the pre-compiled client {#install-the-pre-compiled-client} You can download the latest version of the client at [GitHub](https://github.com/juicedata/juicefs/releases). Pre-compiled versions for different CPU architectures and operating systems are available in the download list of each client version. Please find the version suit your application the best, e.g., diff --git a/docs/zh_cn/getting-started/installation.md b/docs/zh_cn/getting-started/installation.md index 9cce71d0e58d..05ca9975cde0 100644 --- a/docs/zh_cn/getting-started/installation.md +++ b/docs/zh_cn/getting-started/installation.md @@ -15,9 +15,15 @@ JuiceFS 客户端只有一个二进制文件,你可以下载预编译的版本 一键安装脚本适用于 Linux 和 macOS 系统,会根据你的硬件架构自动下载安装最新版 JuiceFS 客户端。 ```shell +# 默认安装到 /usr/local/bin curl -sSL https://d.juicefs.com/install | sh - ``` +```shell +# 安装到 /tmp 目录下 +curl -sSL https://d.juicefs.com/install | sh -s /tmp +``` + ## 安装预编译客户端 {#install-the-pre-compiled-client} 你可以在 [GitHub](https://github.com/juicedata/juicefs/releases) 找到最新版客户端下载地址,每个版本的下载列表中都提供了面向不同 CPU 架构和操作系统的预编译版本,请注意识别选择,例如: