Installation¶
File Browser Next is a single binary and can be used as a standalone executable. It is also available as a Docker image. Installation is straightforward on any platform.
Quick Install (Automated)¶
The quickest and easiest way to install File Browser Next is to use our official installation script, which automatically detects your operating system and CPU architecture, downloads the latest binary, and installs it to your system PATH.
Linux & macOS¶
Or using wget:
Once installed, launch File Browser Next with:
Windows (PowerShell)¶
Run PowerShell as Administrator:
Once installed, launch File Browser Next in a new terminal:
Homebrew (macOS)¶
Install directly with one command:
Or tap the repository first:
Manual Binary Download¶
If you prefer downloading and extracting the binary manually, pre-compiled archives are available on our releases page.
Linux (amd64)¶
curl -L https://github.com/FilebrowserNext/filebrowserNEXT/releases/latest/download/filebrowser-linux-amd64.tar.gz | tar xz
chmod +x filebrowser
./filebrowser -r /path/to/your/files
Linux (arm64 / Raspberry Pi)¶
curl -L https://github.com/FilebrowserNext/filebrowserNEXT/releases/latest/download/filebrowser-linux-arm64.tar.gz | tar xz
chmod +x filebrowser
./filebrowser -r /path/to/your/files
macOS (Apple Silicon)¶
curl -L https://github.com/FilebrowserNext/filebrowserNEXT/releases/latest/download/filebrowser-darwin-arm64.tar.gz | tar xz
chmod +x filebrowser
./filebrowser -r /path/to/your/files
macOS (Intel)¶
curl -L https://github.com/FilebrowserNext/filebrowserNEXT/releases/latest/download/filebrowser-darwin-amd64.tar.gz | tar xz
chmod +x filebrowser
./filebrowser -r /path/to/your/files
Windows (amd64)¶
Download the archive and extract it:
https://github.com/FilebrowserNext/filebrowserNEXT/releases/latest/download/filebrowser-windows-amd64.zip
Then run:
Running as a Background Service¶
Linux¶
Quick Background Run (Nohup)¶
Run File Browser Next detached from your terminal:
To stop it:
Production Service (Systemd)¶
Create and enable a systemd service so File Browser Next starts automatically on boot:
sudo tee /etc/systemd/system/filebrowser.service > /dev/null <<EOF
[Unit]
Description=File Browser Next
After=network.target
[Service]
ExecStart=/usr/local/bin/filebrowser -r /path/to/your/files
Restart=on-failure
User=nobody
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload
sudo systemctl enable --now filebrowser
To stop or view logs:
macOS¶
Quick Background Run (Nohup)¶
To stop it:
Launchd Agent (Auto-start on login)¶
Create ~/Library/LaunchAgents/com.filebrowsernext.plist:
<?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.filebrowsernext</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/bin/filebrowser</string>
<string>-r</string>
<string>/Users/your-username/files</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
<true/>
</dict>
</plist>
Load the service:
To stop it:
Windows¶
Quick Background Run (PowerShell)¶
Launch File Browser Next silently without an open command window:
To stop the background process:
Windows Task Scheduler (Auto-start on boot)¶
Create a scheduled task to run File Browser Next automatically at logon:
schtasks /create /tn "FileBrowserNext" /tr "filebrowser.exe -r C:\path\to\your\files" /sc onlogon /rl highest
To start or delete the task:
Docker¶
File Browser Next is designed to run seamlessly in Docker as a single, ultra-lightweight container (approx. 26 MB).
Method 1: Docker Compose (Recommended)¶
Docker Compose is the cleanest way to run and manage File Browser Next on a server, NAS, or homelab.
Create a docker-compose.yml file:
services:
filebrowser:
image: ghcr.io/filebrowsernext/filebrowsernext:latest
container_name: filebrowser
restart: unless-stopped
ports:
- "8080:80"
volumes:
- /path/to/your/files:/srv
- /path/to/database:/database
- /path/to/config:/config
environment:
- PUID=1000
- PGID=1000
Start the container in the background:
Method 2: Docker Run (Single Command)¶
You can also launch File Browser Next with a single docker run command:
docker run -d \
--name filebrowser \
--restart unless-stopped \
-p 8080:80 \
-v /path/to/your/files:/srv \
-v /path/to/database:/database \
-v /path/to/config:/config \
ghcr.io/filebrowsernext/filebrowsernext:latest
Understanding Docker Volumes¶
| Container Path | Purpose | Description |
|---|---|---|
/srv | Your Files | The root directory of the files you want to manage. Mount any directory from your host here. |
/database | User Database | Contains filebrowser.db (users, passwords, permissions). Persisting this volume ensures your accounts are preserved across container updates and restarts. |
/config | Settings (Optional) | Contains optional custom settings.json. Automatically initialized if empty. |
[!NOTE] Permissions: The container runs under non-root user
UID 1000/GID 1000. Ensure that your host directories mounted into/srvand/databaseare readable and writable by your user (chown -R 1000:1000 /path/to/database).
File Browser Next is now up and running. Read the “First Boot” section below for first login details.
First Boot¶
Your instance is now up and running. By default, the web interface is accessible in your browser at:
If hosted on a remote server or VPS, replace 127.0.0.1 with your server’s public or local IP address (e.g. http://192.168.1.100:8080 or http://<your-server-ip>:8080).
File Browser Next automatically initializes its database upon startup. The default administrator credentials are admin / admin (or the randomly generated password printed to the console on first launch if configured with random credentials).
Although this is the fastest way to bootstrap an instance, we recommend you to take a look at other possible options, by checking config init and config set, to make the installation as safe and customized as it can be.
If your goal is to have a public-facing deployment, we recommend taking a look at the deployment page for more information on how you can secure your installation.