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:1
Get an API key
Go to nometria.com/settings/api-keys and generate a new key.
2
Run login with the --api-key flag
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
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.