fm CLI
fm is the command-line interface for Frostmoln. Everything you can do in the portal you can also do from fm — ideal for scripting and automation.
Install
See Installation for platform-specific steps.
Authenticate
bash
fm auth loginThis opens a browser to sign in and stores a token locally. Check who you're signed in as:
bash
fm auth whoamiCommand structure
Commands follow fm <service> <resource> <action>:
bash
fm compute instance list
fm storage volume create --name data-1 --size 100 --region sweden
fm network vpc list
fm database instance create --engine postgres --version 17 ...Add --help to any command to see its flags, and --output json to get machine-readable output for scripting.
Configuration
fm stores its configuration (including your region and active project) under your home directory. Switch the active project with:
bash
fm config set project <project-id>