-
Notifications
You must be signed in to change notification settings - Fork 86
create
github-actions[bot] edited this page Feb 12, 2026
·
8 revisions
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 mybenchCreate bench with erpnext and hrms
fm create mybench --apps erpnext --apps hrmsCreate production bench
fm create mybench -e prodCreate bench with specific branch
fm create mybench --apps erpnext:version-14Create bench with private app
fm create mybench --apps myorg/private-app --github-token ghp_xxxCreate bench with custom Python/Node versions
fm create mybench --python 3.11 --node 20Create bench with alias domains
fm create mybench --alias-domains www.example.com,api.example.com