Deploy
Binary
Install and run Memos as a native binary on Linux, macOS, or Windows.
Running Memos as a binary is useful when you do not want Docker in the stack or when you already manage services directly on the host.
Supported platforms
Pre-built binaries are available for:
- Linux:
amd64,arm64,armv7 - macOS: Intel and Apple Silicon
- Windows:
amd64
Release artifacts are published from the upstream GitHub releases page.
Typical flow
- download the archive for your platform
- extract the binary
- choose a persistent data directory
- set
MEMOS_*variables or flags - run the binary under a service manager
Basic run command
./memos --port 5230 --data /var/lib/memosDefaults worth knowing:
- port
8081 - SQLite database
- local data directory for DB and assets
External databases
Examples:
./memos \
--driver mysql \
--dsn "user:password@tcp(localhost:3306)/memos"./memos \
--driver postgres \
--dsn "postgres://user:password@localhost:5432/memos?sslmode=disable"Service management
Binary installs work best when paired with:
systemdon Linuxlaunchdon macOS- a Windows service wrapper or supervisor
Why choose the binary path
- no container runtime dependency
- easy to integrate with existing host-level process supervision
- straightforward debugging and local inspection
What you must manage yourself
- upgrades and rollbacks
- process supervision
- data directory ownership and permissions
- reverse proxy and HTTPS in production