Quick reference
| Command | What it does |
|---|---|
nom init | Create a nometria.json config file |
nom deploy | Deploy to production |
nom preview | Deploy a staging preview (free, 2 hours) |
nom status | Check deployment status |
nom logs | View deployment logs |
nom login | Sign in via browser or API key |
nom whoami | Show your current account |
nom github | Connect GitHub for auto-deploy |
nom start | Start a stopped instance |
nom stop | Stop a running instance |
nom terminate | Permanently delete an instance |
nom upgrade | Resize your instance |
nom domain | Add a custom domain |
nom env | Manage environment variables |
nom scan | Run an AI security scan |
nom setup | Generate AI tool config files |
Global options
These options work with every command:| Option | Short | Description |
|---|---|---|
--help | -h | Show help |
--version | -v | Show CLI version |
--yes | -y | Skip confirmation prompts |
--json | Output as JSON (for scripting) |
Detailed command reference
nom init
nom init
Create a What it creates:
nometria.json config file in the current directory. The CLI auto-detects your framework (Next.js, Vite, Remix, or static) and sets sensible defaults.nom deploy
nom deploy
Build and deploy your project to production. This is the default command — running What happens:
nom with no arguments does the same thing.- Reads
nometria.jsonfor your config - Runs your build command (e.g.
npm run build) - Packages your code (excluding
node_modules,.git,.env) - Uploads and deploys to your chosen cloud
- Returns a live URL
nom preview
nom preview
Deploy a temporary staging version of your app. Previews are free and expire after 2 hours.Example output:
nom status
nom status
Check the current deployment status of your app.Example output:Use
--json to get machine-readable output for scripts:nom logs
nom logs
View deployment and runtime logs.The
-f (follow) flag keeps the connection open and streams new log lines as they happen, similar to tail -f.nom login
nom login
Sign in to your Nometria account. See the installation guide for details on all login methods.The browser method opens a sign-in page where you authenticate with Google, GitHub, or email. The CLI picks up the credentials automatically.
nom whoami
nom whoami
Show the email address of the currently signed-in user.Example output:
nom github
nom github
Manage GitHub integration for automatic deployments. This command has four subcommands.Opens your browser to authorize GitHub access via OAuth. Once connected, pushes to your repo can trigger automatic deploys.
- connect
- status
- repos
- push
nom start
nom start
Start an instance that was previously stopped.The instance resumes from where it left off. Your data and configuration are preserved.
nom stop
nom stop
Stop a running instance. The instance is paused but not deleted — you can restart it later with
nom start.nom terminate
nom terminate
Permanently delete an instance and all its data. This cannot be undone.
nom upgrade
nom upgrade
Resize your instance to a different size. Available sizes: Example output:The upgrade happens with minimal downtime — your app restarts on the new instance size.
2gb, 4gb, 8gb, 16gb.nom domain
nom domain
Add a custom domain to your app.After running this, you will need to add a DNS record (usually a CNAME) pointing to your Nometria instance. SSL is provisioned automatically.
nom env
nom env
Manage environment variables for your deployed app.Set one or more environment variables. The app redeploys automatically with the new values.
- set
- list
- delete
nom scan
nom scan
Run an AI-powered security and performance scan on your deployed app.Example output:
nom setup
nom setup
Generate configuration files so that AI coding tools (Cursor, Claude Code, Copilot, Cline, Windsurf, Continue.dev) know how to deploy your project. Also creates Claude Code slash commands, an AGENTS.md guide, and a GitHub Actions workflow.Example output:See the AI tools setup guide for details on each file, and the slash commands guide for Claude Code commands.