# Mount S4 locally with Bitifs

## Goal

Bitifs BETA is Bitiful's official S4 object storage mount tool. It lets you map object storage to a local folder on Windows, macOS, and Linux.

**This guide shows you how to set up BitiFS to mount your S4 storage locally.**

> **Tip**
>
> Make sure you've [signed up for a Bitiful account](https://console.bitiful.com/) and completed [real-name verification](https://console.bitiful.com/users).

## Prerequisites

- You've [created](/en/bitiful-s4/handbook/quick-start) an S4 bucket.
- You've created a sub-account and an access_key for it.
- You've granted the `sub-account` full permissions on the `relevant bucket`.

## Setup by operating system

<details>
<summary>Windows</summary>

> **Tip**
>
> Note: on Windows, you need to install FUSE support first: [Winfsp](https://github.com/billziss-gh/winfsp/releases)

#### Download

AMD64: <https://tools.bitiful.com/bitifs/bitifs.exe>

#### Install and use

#### Set AK/SK in CMD:

```
set AWS_ACCESS_KEY_ID={ak}
set AWS_SECRET_ACCESS_KEY={sk}
```

#### Set AK/SK in PowerShell:

```
$env:AWS_ACCESS_KEY_ID={ak}
$env:AWS_SECRET_ACCESS_KEY={sk}
```

Then run `./bitifs.exe bucketname B:` to mount.

</details>

<details>
<summary>macOS</summary>

> **Tip**
>
> Note: on macOS, you need to install FUSE support first: [macFUSE](https://github.com/macfuse/macfuse/releases)

#### Download

Intel chips: <https://tools.bitiful.com/bitifs/bitifs_macos_amd64>

Apple silicon: <https://tools.bitiful.com/bitifs/bitifs_macos_arm64>

#### Set AK/SK:

```
export AWS_ACCESS_KEY_ID={ak}
export AWS_SECRET_ACCESS_KEY={sk}
```

Then run `mkdir -p ~/bitiful-mount && ./bitifs bitifsmount ~/bitiful-mount` to mount.

</details>

<details>
<summary>Linux</summary>

#### Download

AMD64: <https://tools.bitiful.com/bitifs/bitifs_linux_amd64>

ARM64: <https://tools.bitiful.com/bitifs/bitifs_linux_arm64>

#### Set AK/SK:

```
export AWS_ACCESS_KEY_ID={ak}
export AWS_SECRET_ACCESS_KEY={sk}
```

Then run `mkdir -p ~/bitiful-mount && ./bitifs bitifsmount ~/bitiful-mount` to mount.

**One-click mount for Bitiful S4**

A one-click Linux script contributed by a community member: <https://gitee.com/cncsrf/bitiful-oss>

</details>
