> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.bitiful.com/en/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.bitiful.com/_mcp/server.

# Bitifs mount client

> Use Bitifs, the official mount tool, to mount an S4 bucket as a local drive or folder on Windows, macOS, and Linux.

Bitifs BETA is Bitiful's command-line mount tool. Once mounted, a bucket is a local drive or folder that file managers and other programs can read and write directly.

## Supported systems

| System  | Architecture   | Requires                                               | Download                                                                  |
| ------- | -------------- | ------------------------------------------------------ | ------------------------------------------------------------------------- |
| Windows | x64            | [WinFsp](https://github.com/winfsp/winfsp/releases)    | [bitifs.exe](https://tools.bitiful.com/bitifs/bitifs.exe)                 |
| macOS   | Apple silicon  | [macFUSE](https://github.com/macfuse/macfuse/releases) | [bitifs_macos_arm64](https://tools.bitiful.com/bitifs/bitifs_macos_arm64) |
| macOS   | Intel          | [macFUSE](https://github.com/macfuse/macfuse/releases) | [bitifs_macos_amd64](https://tools.bitiful.com/bitifs/bitifs_macos_amd64) |
| Linux   | x86_64 (amd64) | fuse3                                                  | [bitifs_linux_amd64](https://tools.bitiful.com/bitifs/bitifs_linux_amd64) |
| Linux   | ARM64          | fuse3                                                  | [bitifs_linux_arm64](https://tools.bitiful.com/bitifs/bitifs_linux_arm64) |

Windows on ARM is not supported yet.

## Prerequisites

- You have [created a bucket](https://docs.bitiful.com/en/bitiful-s4/handbook/buckets.md);
- You have [created a sub-user and AccessKey](https://docs.bitiful.com/en/bitiful-s4/handbook/access-keys.md) and [granted](https://docs.bitiful.com/en/bitiful-s4/handbook/permissions.md) it read, write, and list permissions on the bucket. A read-only mount does not need write permission.

## Install and mount

Command format:

```text
bitifs [options] bucket[:directory] mountpoint
```

Replace `my-bucket` below with your bucket name. When you pick a system, all commands on this page switch with it.

**Windows**

### Install WinFsp

Download and install it from the [WinFsp releases page](https://github.com/winfsp/winfsp/releases).

### Download Bitifs

Download [bitifs.exe](https://tools.bitiful.com/bitifs/bitifs.exe) and put it in a permanent directory, for example `C:\bitifs`.

### Set the keys

Open a terminal in `C:\bitifs`.

CMD:

```batch
set AWS_ACCESS_KEY_ID=YourAccessKey
set AWS_SECRET_ACCESS_KEY=YourSecretKey
```

PowerShell:

```powershell title="PowerShell"
$env:AWS_ACCESS_KEY_ID="YourAccessKey"
$env:AWS_SECRET_ACCESS_KEY="YourSecretKey"
```

### Mount as drive B

```powershell
.\bitifs.exe my-bucket B:
```

The mount point can be an unused drive letter or a directory that **does not exist yet**. The Windows version runs in the foreground, so keep the window open.

**macOS**

### Install macFUSE

Download and install it from the [macFUSE releases page](https://github.com/macfuse/macfuse/releases), then allow the system extension in System Settings and restart.

### Download Bitifs

Apple silicon:

```bash
curl -fL -o bitifs https://tools.bitiful.com/bitifs/bitifs_macos_arm64 && chmod +x bitifs
```

Intel:

```bash
curl -fL -o bitifs https://tools.bitiful.com/bitifs/bitifs_macos_amd64 && chmod +x bitifs
```

### Set the keys

```bash
export AWS_ACCESS_KEY_ID="YourAccessKey"
export AWS_SECRET_ACCESS_KEY="YourSecretKey"
```

### Mount

```bash
mkdir -p ~/bitiful-mount && ./bitifs my-bucket ~/bitiful-mount
```

**Linux**

### Install FUSE

```bash
sudo apt install fuse3   # Debian, Ubuntu
sudo dnf install fuse3   # Rocky, CentOS Stream, Fedora
```

### Download Bitifs

x86_64:

```bash
curl -fL -o bitifs https://tools.bitiful.com/bitifs/bitifs_linux_amd64 && chmod +x bitifs
```

ARM64:

```bash
curl -fL -o bitifs https://tools.bitiful.com/bitifs/bitifs_linux_arm64 && chmod +x bitifs
```

### Set the keys

```bash
export AWS_ACCESS_KEY_ID="YourAccessKey"
export AWS_SECRET_ACCESS_KEY="YourSecretKey"
```

### Mount

```bash
mkdir -p ~/bitiful-mount && ./bitifs my-bucket ~/bitiful-mount
```

**One-click mount for Bitiful S4**

A one-click Linux script made by a community member (in Chinese): <https://gitee.com/cncsrf/bitiful-oss>

After you see `File system has been successfully mounted.`, list the directory to confirm that files can be read:

**Windows**

In another window, run:

```powershell
dir B:\
```

**macOS**

```bash
ls ~/bitiful-mount
```

**Linux**

```bash
ls ~/bitiful-mount
```

> **Warning**
>
> Mounting does not verify the keys or the bucket name, and reports success even if they are wrong. If listing the directory reports `Permission denied` (access denied on Windows), the keys, bucket name, or permissions are incorrect. Unmount first, then check them.

## Mount a single directory

**Windows**

```powershell
.\bitifs.exe my-bucket:photos/2026 B:
```

**macOS**

```bash
./bitifs my-bucket:photos/2026 ~/bitiful-mount
```

**Linux**

```bash
./bitifs my-bucket:photos/2026 ~/bitiful-mount
```

Use this form as well when the sub-user only has directory permissions.

## Read-only mount

**Windows**

The Windows version does not support `-o ro`. The option is ignored and the drive stays writable. For read-only access, mount with a sub-user that is only [granted](https://docs.bitiful.com/en/bitiful-s4/handbook/permissions.md) the read and list permissions:

```powershell
.\bitifs.exe my-bucket B:
```

Files written to the drive are then never saved to the bucket.

**macOS**

```bash
./bitifs -o ro my-bucket ~/bitiful-mount
```

Writes report `Read-only file system`.

**Linux**

```bash
./bitifs -o ro my-bucket ~/bitiful-mount
```

Writes report `Read-only file system`.

## Unmount

**Windows**

Press `Ctrl+C` in the window that runs Bitifs, and close the window only after the program has exited. Closing the window directly loses pending content.

**macOS**

```bash
umount ~/bitiful-mount
```

**Linux**

```bash
fusermount3 -u ~/bitiful-mount   # regular user
sudo umount ~/bitiful-mount       # mounted by root
```

Unmounting uploads any pending content first, so wait for the command to finish before you shut down or disconnect.

## Next steps

- Mount at startup, multi-user access, and tuning options: [Advanced Bitifs setup](https://docs.bitiful.com/en/clients/bitifs/advanced.md)
- Limits and frequently asked questions: [Limits](https://docs.bitiful.com/en/clients/bitifs/advanced.md#limits), [FAQ](https://docs.bitiful.com/en/clients/bitifs/advanced.md#faq)
