Skip to main content

Installation & Upgrade

JuiceFS has good cross-platform capability and supports running on all kinds of operating systems of almost all major architectures, including and not limited to Linux, macOS, Windows, BSD, etc.

The JuiceFS client has only one binary file, you can download the pre-compiled version to unzip it and use it directly, or you can compile it manually with the source code.

Install The Pre-compiled Client

You can find the latest version of the client for download at GitHub. Pre-compiled versions for different CPU architectures and operating systems are available in the download list for each version, so please take care to identify your choice, e.g.

File NameDescription
juicefs-x.x.x-darwin-amd64.tar.gzFor macOS systems with Intel chips
juicefs-x.x.x-linux-amd64.tar.gzFor Linux distributions on the x86 architecture
juicefs-x.x.x-linux-arm64.tar.gzFor Linux distributions on the ARM architecture
juicefs-x.x.x-windows-amd64.tar.gzFor Windows on the x86 architecture
juicefs-hadoop-x.x.x-linux-amd64.jarHadoop Java SDK for Linux distributions on the x86 architecture

For macOS on M1 series chips, you can use the darwin-amd64 version of the client dependent on Rosetta 2, or you can refer to Manually Compiling to compile the native version.


For Linux systems with x86 architecture, download the file with the file name linux-amd64 and execute the following command in the terminal.

  1. Get the latest version number

    JFS_LATEST_TAG=$(curl -s | grep 'tag_name' | cut -d '"' -f 4 | tr -d 'v')
  2. Download the client to the current directory

    wget "${JFS_LATEST_TAG}/juicefs-${JFS_LATEST_TAG}-linux-amd64.tar.gz"
  3. Unzip the installation package

    tar -zxf "juicefs-${JFS_LATEST_TAG}-linux-amd64.tar.gz"
  4. Install the client

    sudo install juicefs /usr/local/bin

After completing the above 4 steps, execute the juicefs command in the terminal and the help message will be returned, then the client installation is successful.


If the terminal prompts command not found, it may be that /usr/local/bin is not in your system's PATH environment variable. You can run echo $PATH to see which executable paths are set, select an appropriate path based on the return result, adjust and re-execute the installation command in step 4.


There are two ways to use JuiceFS on Windows systems.

  1. Using Pre-compiled Windows client
  2. Using the Linux client in WSL

Pre-compiled Windows Client

The Windows client of JuiceFS is also a standalone binary that can be downloaded and unpacked to run directly.

  1. Installing Dependencies

    Since Windows does not natively support the FUSE interface, you first need to download and install WinFsp in order to implement FUSE support.


    WinFsp is an open source Windows file system agent that provides a FUSE emulation layer that allows JuiceFS clients to mount file systems for use on Windows systems.

  2. Install the client

    Take Windows 10 system as an example, download the file with the filename windows-amd64, unzip it and get juicefs.exe which is the JuiceFS client binary.

    To make it easier to use, you can create a folder named juicefs in the root directory of the C:\ disk, and extract juicefs.exe to that folder. Then add C:\juicefs to the environment variables of your system, restart the system to let the settings take effect, and then you can run juicefs commands directly using the Command Prompt or PowerShell terminal that come with your system.

    Windows ENV path

Using the Linux client in WSL

WSL is the full name of Windows Subsystem for Linux, which is supported from Windows 10 version 2004 onwards or Windows 11. It allows you to run most of the command-line tools, utilities, and applications of GNU/Linux natively on a Windows system without incurring the overhead of a traditional virtual machine or dual-boot setup.

Because WSL is a highly complete Linux system (Ubuntu by default) running on a Windows system. Therefore, after entering the WSL subsystem terminal, you should install and use it exactly as described in Installing and using the JuiceFS client on Linux.


Since macOS does not support the FUSE interface by default, you need to install macFUSE first to implement support for FUSE.


macFUSE is an open source file system enhancement tool that allows macOS to mount third-party file systems, enabling JuiceFS clients to mount file systems for use on macOS systems.


If you have the Homebrew package manager installed on your system, you can install the JuiceFS client by executing the following command.

brew tap juicedata/homebrew-tap
brew install juicefs

Pre-compiled Binary

You can also download the binary with the filename of darwin-amd64, unzip it and install the program to any executable path on your system using the install command, e.g.

sudo install juicefs /usr/local/bin


For cases where you want to use JuiceFS in a Docker container, here is a Dockerfile for building a JuiceFS client image, which can be used as a base to build a JuiceFS client image alone or packaged together with other applications.

FROM ubuntu:20.04

RUN apt update && apt install -y curl fuse && \
apt-get autoremove && \
apt-get clean && \
rm -rf \
/tmp/* \
/var/lib/apt/lists/* \

RUN set -x && \
mkdir /juicefs && \
cd /juicefs && \
JFS_LATEST_TAG=$(curl -s | grep 'tag_name' | cut -d '"' -f 4 | tr -d 'v') && \
curl -s -L "${JFS_LATEST_TAG}/juicefs-${JFS_LATEST_TAG}-linux-amd64.tar.gz" \
| tar -zx && \
install juicefs /usr/bin && \
cd .. && \
rm -rf /juicefs

CMD [ "juicefs" ]

Manually Compiling

If the pre-compiled client does not have a version for you, such as FreeBSD or macOS on the M1 chip, then you can use manual compilation to compile the JuiceFS client for you.

In addition, manually compiling the client will give you priority access to various new features in JuiceFS development, but it requires some basic knowledge of software compilation.


The compilation operations here are available for Linux, macOS and BSD systems of all CPU architectures.

The JuiceFS client is developed in the Go language and compiles with the following tool dependencies.

  • Go 1.16+
  • GCC 5.4+
  1. Cloning source code

    git clone
  2. Enter the source code directory

    cd juicefs
  3. Switching the branch

    The source code uses the main branch by default, and you can switch to any official release, for example to v0.17.4.

    git checkout v0.17.4

    The development branch often involves large changes, so please do not use the clients compiled in the "development branch" for the production environment.

  4. Compiling


    The compiled juicefs binary is located in the current directory.


The JuiceFS client has only one binary file, so to upgrade the new version you only need to replace the old one with the new one.

  • Use pre-compiled client: You can refer to the installation method of the corresponding system in this document, download the latest client, and overwrite the old one.
  • Manually compile the client: You can pull the latest source code and recompile it to overwrite the old version of the client.

For the file system that has been mounted using the old version of JuiceFS client, you need to unmount file system, and then re-mount it with the new version of JuiceFS client.


The JuiceFS client has only one binary file, which can be deleted by simply finding the location of the program. For example, referring to the client installed on the Linux system in this document, execute the following command to uninstall the client.

sudo rm /usr/local/bin/juicefs

You can also see where the program is located by using the which command.

which juicefs

The path returned by the command is the location where the JuiceFS client is installed on your system. For other operating systems uninstallation methods follow the same pattern.