Install the CLI
- npm (recommended)
- npx (no install)
The CLI requires Node.js 18 or newer. Check your version with
node --version.Verify the installation
0.1.0).
Sign in
You need to authenticate before you can deploy. There are three ways to do this.Option 1: Browser sign-in (easiest)
Option 2: API key paste
If you are on a remote server or the browser method does not work:Get an API key
Go to nometria.com/settings/api-keys and generate a new key.
Option 3: Environment variable
Set theNOMETRIA_API_KEY environment variable and the CLI will use it automatically. This is the best option for CI/CD pipelines:
Environment variables
| Variable | Description |
|---|---|
NOMETRIA_API_KEY | Your API key. Overrides saved credentials from nom login. |
NOMETRIA_API_URL | Custom API endpoint. You almost never need to change this. |
NOM_DEBUG | Set to any value to enable debug output for troubleshooting. |
Verify you are signed in
What’s next
Initialize a project
Run
nom init to detect your framework and create a config file.Deploy
Run
nom deploy to push your app to production.