Published: October 8, 2025
Last updated: October 31, 2026

Run FileBrowser Quantum v2.0.x (stable) natively on macOS.

Download

  1. Go to the releases page
  2. Download the stable darwin-amd64-filebrowser (Intel) or darwin-arm64-filebrowser (Apple Silicon) asset
  3. Save to a folder (for example ~/FileBrowser/) and set the filename:
BASH
1
2
cd ~/FileBrowser
FB_BIN=darwin-arm64-filebrowser   # Intel: FB_BIN=darwin-amd64-filebrowser

Enable Permissions

Step 1: Make Executable

BASH
1
chmod +x "$FB_BIN"

Step 2: Allow in Security Settings

On first run, macOS may block the binary:

  1. Try to run: ./"$FB_BIN" version
  2. Open System Settings → Privacy & Security and allow FileBrowser, or remove quarantine:
BASH
1
xattr -d com.apple.quarantine "./$FB_BIN"

Optional: Install FFmpeg

BASH
1
brew install ffmpeg

Create Configuration

BASH
1
./"$FB_BIN" setup

Or create config.yaml:

YAML
1
2
3
4
5
6
7
8
9
http:
  port: 8080
server:
  sources:
    - path: /Users/yourname/Documents
      config:
        defaultEnabled: true
auth:
  adminUsername: admin

v2.0.0 and later read the listen port from http.port. A server.port key is rejected at startup.

Run FileBrowser

BASH
1
./"$FB_BIN" -c config.yaml

Access at http://localhost:8080 (or your http.port). Read the generated admin password from this terminal’s output.

First login

When auth.adminPassword and FILEBROWSER_ADMIN_PASSWORD are unset, the terminal prints a one-time generated password; first login requires a password change.

  • Non-empty auth.adminPassword / FILEBROWSER_ADMIN_PASSWORD values other than admin are reapplied on every restart — remove after setup if the UI should manage passwords.
  • admin as the configured password is treated as unset.

Recovery (stop the running server first):

BASH
1
2
3
4
5
6
7
# Foreground: press Ctrl+C, then:
./"$FB_BIN" -c config.yaml user set admin --password 'your-new-password'

# launchd service:
sudo launchctl bootout system /Library/LaunchDaemons/com.filebrowser.plist
sudo /usr/local/bin/filebrowser -c /usr/local/etc/filebrowser/config.yaml user set admin --password 'your-new-password'
sudo launchctl bootstrap system /Library/LaunchDaemons/com.filebrowser.plist

Run as Service (launchd)

Install the binary and config to fixed paths:

BASH
1
2
3
4
sudo mkdir -p /usr/local/etc/filebrowser /var/log/filebrowser
sudo cp "$FB_BIN" /usr/local/bin/filebrowser
sudo cp config.yaml /usr/local/etc/filebrowser/config.yaml
sudo chown root:wheel /usr/local/bin/filebrowser /usr/local/etc/filebrowser/config.yaml

Create /Library/LaunchDaemons/com.filebrowser.plist:

XML
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>Label</key>
    <string>com.filebrowser</string>
    <key>ProgramArguments</key>
    <array>
        <string>/usr/local/bin/filebrowser</string>
        <string>-c</string>
        <string>/usr/local/etc/filebrowser/config.yaml</string>
    </array>
    <key>WorkingDirectory</key>
    <string>/usr/local/etc/filebrowser</string>
    <key>StandardOutPath</key>
    <string>/var/log/filebrowser/stdout.log</string>
    <key>StandardErrorPath</key>
    <string>/var/log/filebrowser/stderr.log</string>
    <key>RunAtLoad</key>
    <true/>
    <key>KeepAlive</key>
    <true/>
</dict>
</plist>

Load the daemon (macOS 10.10+):

BASH
1
sudo launchctl bootstrap system /Library/LaunchDaemons/com.filebrowser.plist

Find the generated admin password in /var/log/filebrowser/stdout.log if needed. LaunchDaemons run as root, so binding to port 80 is allowed; prefer http.port: 8080 unless you need port 80.

Troubleshooting

See Common setup mistakes.

Next Steps