Skip to content

Installing the fm CLI ​

fm is a single self-contained binary for Linux, macOS, and Windows. All downloads are served from the EU at get.frostmoln.cloud and signed with minisign. Always verify the signature before running a binary (see Verify below).

Install script (Linux / macOS) ​

bash
curl -sSL https://get.frostmoln.cloud/cli | sh

The script downloads the right archive for your platform, verifies its minisign signature against a pinned key, and installs fm to /usr/local/bin. It requires minisign and fails closed if it is missing. Options: --version vX.Y.Z, --dir DIR, --no-sudo.

Linux package repositories (apt / dnf) ​

On Debian/Ubuntu and RHEL/Fedora, add the GPG-signed Frostmoln repository once, then install and update fm with your native package manager.

Debian / Ubuntu (apt) ​

Uses the deb822 .sources format with a signed-by keyring (no apt-key):

bash
sudo install -d -m 0755 /etc/apt/keyrings
sudo curl -fsSL -o /etc/apt/keyrings/frostmoln.gpg https://get.frostmoln.cloud/deb/frostmoln.gpg
sudo curl -fsSL -o /etc/apt/sources.list.d/frostmoln.sources https://get.frostmoln.cloud/deb/frostmoln.sources
sudo apt-get update && sudo apt-get install fm

RHEL / Fedora (dnf) ​

bash
sudo curl -fsSL -o /etc/yum.repos.d/frostmoln.repo https://get.frostmoln.cloud/rpm/frostmoln.repo
sudo dnf install fm

Alpine / one-off packages ​

There is no apk repository yet — and to install a specific version directly, download the package from https://get.frostmoln.cloud/cli/<version>/:

bash
sudo apt-get install -y ./fm_*.deb           # Debian / Ubuntu
sudo dnf install -y ./fm_*.rpm               # RHEL / Fedora
sudo apk add --allow-untrusted fm_*.apk      # Alpine

Homebrew (macOS) ​

bash
brew install frostmoln/tap/fm

Homebrew ships as a cask, so it is macOS-only. Linux users use a package, the tarball, or the install script.

Windows (no package manager) ​

The PowerShell install script needs no package manager and no administrator rights. It installs fm.exe to %LOCALAPPDATA%\Programs\fm and adds that folder to your user PATH:

powershell
irm https://get.frostmoln.cloud/cli/install.ps1 | iex

Like the Linux/macOS script, it verifies the minisign signature against a pinned key and stops if minisign is missing. minisign for Windows is a single minisign.exe with no installer: download it from the minisign releases and put it in a folder on your PATH first. Options: -Version vX.Y.Z, -InstallDir DIR, -NoModifyPath. For example:

powershell
& ([scriptblock]::Create((irm https://get.frostmoln.cloud/cli/install.ps1))) -Version v1.0.0

Manual download ​

To do the same by hand, download the zip from https://get.frostmoln.cloud/cli/ plus the version. The current version is in https://get.frostmoln.cloud/cli/latest.txt:

powershell
$ProgressPreference = "SilentlyContinue"   # iwr is very slow on Windows PowerShell 5.1 otherwise
$base = "https://get.frostmoln.cloud/cli/v1.0.0"
iwr "$base/fm-1.0.0-windows-amd64.zip" -OutFile fm.zip
iwr "$base/checksums.txt" -OutFile checksums.txt
iwr "$base/checksums.txt.minisig" -OutFile checksums.txt.minisig
minisign -Vm checksums.txt -x checksums.txt.minisig -P RWQPJBI7ULTSSrQ4+wVG0gUucAQG2cBbrD/dseYvWoOrq1Q6V+IRcx0p   # stop here unless it prints "Signature and comment signature verified"
(Get-FileHash fm.zip).Hash.ToLower()   # must match the fm-1.0.0-windows-amd64.zip line in checksums.txt
Expand-Archive fm.zip -DestinationPath "$env:LOCALAPPDATA\Programs\fm" -Force   # then add this folder to your user PATH

Windows builds are amd64 only; Windows 11 on ARM runs them under x64 emulation.

Scoop (Windows) ​

powershell
scoop bucket add frostmoln https://github.com/Frostmoln/scoop-bucket
scoop install fm

Verify ​

Each release ships checksums.txt and a minisign signature (checksums.txt.minisig). Verify the signature with the signing key (ID 4AD2B4503B12240F), then confirm the binary:

bash
minisign -Vm checksums.txt -x checksums.txt.minisig \
  -P RWQPJBI7ULTSSrQ4+wVG0gUucAQG2cBbrD/dseYvWoOrq1Q6V+IRcx0p
fm version

The authoritative key is the literal value above. A copy is published at get.frostmoln.cloud/cli/fm-cli-release.pub for convenience only — never trust a key fetched from the network as the verification root.

Update ​

Re-run the install script, or brew upgrade fm / scoop update fm, or reinstall the package. Run fm version to confirm.

Next steps ​