Skip to content
github-actions[bot] edited this page Feb 12, 2026 · 8 revisions

fm create

Create a new bench with apps

Usage:

$ fm create BENCHNAME [OPTIONS]

Arguments:

  • BENCHNAME: Bench name [required]

Options:

  • -a, --apps: Apps to install. Format: appname:branch or appname (e.g., erpnext:version-15)
  • -e, --environment: Environment type (dev or prod)
  • --developer-mode: Enable/disable developer mode
  • --template: Create as template bench
  • --admin-pass: Administrator password
  • --alias-domains: Alias domains (comma-separated). Use 'fm ssl add' for SSL.
  • -t, --github-token: GitHub token for private repos (or use GITHUB_TOKEN env var)
  • --python: Python version (e.g., '3.11'). Auto-detected by default.
  • --node: Node version (e.g., '18', '20'). Auto-detected by default.
  • --restart: Docker restart policy. Defaults to 'no' (dev) or 'unless-stopped' (prod).
  • --allow-domain-conflicts: Skip domain uniqueness validation (not recommended). Allows creating benches with duplicate domains.

Examples:

Create bench with frappe only

fm create mybench

Create bench with erpnext and hrms

fm create mybench --apps erpnext --apps hrms

Create production bench

fm create mybench -e prod

Create bench with specific branch

fm create mybench --apps erpnext:version-14

Create bench with private app

fm create mybench --apps myorg/private-app --github-token ghp_xxx

Create bench with custom Python/Node versions

fm create mybench --python 3.11 --node 20

Create bench with alias domains

fm create mybench --alias-domains www.example.com,api.example.com

Clone this wiki locally