Home
Author Manual
Themes Guide
Development

Install fpm

You can download fpm in multiple ways. The easiest way being just download the binary and install it in your local system.

Pre-built library

Linux Installation
You can get our pre-compiled binaries in the Releases section.

One line snippet
$ sudo bash -c "$(curl -fsSL https://raw.githubusercontent.com/FifthTry/fpm/main/install-fpm.sh)"

Download and map the binaries
  • Download the binaries from the Releases page.
  • Move the fpm binary and the ftd.d file to the /usr/local/bin/.

MacOS Installation

One line snippet
$ sh -c "$(curl -fsSL https://raw.githubusercontent.com/FifthTry/fpm/main/install-fpm.sh)"

Download and map the binaries
  • Download the binaries from the Releases page.
  • Move the fpm binary to the /usr/local/bin/.

Windows Installation

Download and map the binaries

  • Download the executable from the Releases page.
  • Use the reference to fpm.exe in your terminal to invoke ftd.

Read more

Cargo install the latest version

cargo install fpm

Building FPM from Source
fpm is open source project. You can clone the fpm git repo:

git clone git@github.com:FifthTry/fpm.git
fpm is implemented using Rust, using 2021 edition, so minimum supported Rust version (MSRV) is 1.56.0.
cd fpm
cargo test
cargo build
We would love to hear from you if you have any suggestions about the code or feature! Happy building.

Linux Dependencies
When building from source you will have to install SSL and SQLite dev packages:

sudo apt-get install libsqlite3-dev libssl-dev