Installation
Saturday, 02 August 2025 - ⧖ 2.0 minThe quickest way to install Marmite is using the install script:
curl -sS https://marmite.blog/install.sh | sh
Alternatively, if you have Rust installed, you can use cargo:
cargo binstall marmite
or
cargo install marmite
Or install with pip/uvx:
pip install marmite
# OR
uvx marmite
Or download the pre-built binary from the releases
Or install from a package manager
Homebrew (macOS/Linux)
brew install marmite
Arch Linux
pacman -S marmite
FreeBSD
pkg install marmite
Or use Docker
docker run -v $PWD:/input ghcr.io/rochacbruno/marmite
To serve locally:
docker run -p 8000:8000 -v $PWD:/input ghcr.io/rochacbruno/marmite --serve
For more details see the installation guide.
Additional Details
Install Script Options
The install script will detect your operating system and architecture, download the appropriate binary, install it to ~/.local/bin (or a custom directory), and verify the installation.
To install to a custom directory:
curl -sS https://marmite.blog/install.sh | sh -s -- --bin-dir /usr/local/bin
You can also use environment variables:
export MARMITE_BIN_DIR =/custom/path
curl -sS https://marmite.blog/install.sh | sh
Install from Source
# Or install from GitHub directly
cargo install --git https://github.com/rochacbruno/marmite marmite
Check Python Installation with pip for more details on the pip/uvx method.
Manual Installation
-
Download the appropriate binary for your platform from the releases page
-
Extract the archive:
# For Linux/macOS tar -xzf marmite-*.tar.gz# For Windows unzip marmite-*.zip -
Move the binary to a directory in your PATH:
# Linux/macOS sudo mv marmite /usr/local/bin/# Or to user directory (no sudo required) mkdir -p ~/.local/binmv marmite ~/.local/bin/ -
Make sure the binary is executable (Linux/macOS):
chmod +x /usr/local/bin/marmite
Windows
- Download the Windows binary from the releases page
- Extract the ZIP file
- Add the directory containing
marmite.exeto your PATH
Or use PowerShell:
iwr -useb https://marmite.blog/install.ps1 | iex
Verify Installation
After installation, verify that Marmite is working:
marmite --version
You should see output like:
marmite 0.2.6
Updating Marmite
To update to the latest version:
Using the install script
curl -sS https://marmite.blog/install.sh | sh -s -- --force
Using cargo
cargo install --force marmite
Troubleshooting
Command not found
If you get a "command not found" error, make sure the installation directory is in your PATH:
# Add to ~/.bashrc or ~/.zshrc
export PATH =" $ HOME /.local/bin: $ PATH "
Then reload your shell configuration:
source ~/.bashrc # or ~/.zshrc
Permission denied
If you get permission errors during installation:
- Use the
--bin-diroption to install to a user-writable directory - Or run the install command with
sudo(not recommended)
SSL/TLS errors
If you encounter SSL errors when downloading:
# Use wget instead of curl
wget -O- https://marmite.blog/install.sh | sh
Next Steps
Once Marmite is installed, you can:
-
Create your first site:
marmite myblog--init-site --name "My Blog" -
Create your first post:
marmite myblog--new "Hello World" -
Build and serve your site:
marmite myblog--build --serve
Check out the Getting Started guide for a complete tutorial!
Uninstalling
To uninstall Marmite:
# If installed with the script
rm ~/.local/bin/marmite
# If installed with cargo
cargo uninstall marmite
# If installed manually
rm /usr/local/bin/marmite
Please consider giving a ☆ on Marmite Github repository, that helps a lot!