Developer CLI

Run your database workflow from the terminal.

The SaveOn CLI gives developers a provider-neutral command surface for account checks, database discovery, provisioning, connection retrieval, and safe lifecycle operations.

Install and configure

From the SaveOn repository, run npm link to expose the saveon command locally. When a published package becomes available, the same command can be installed from the package registry.

Create an API key in your SaveOn workspace, then store it in the CLI’s restrictive local configuration file. Do not commit that file or paste the key into browser code.

npm link
saveon auth login --api-key <key>
saveon config set-url https://saveon-nine.vercel.app
saveon account

Database commands

Use the CLI to list databases, inspect a database, create a new database from a live package identifier, retrieve connection details when needed, and delete a database after confirming the identifier. The server remains responsible for authentication, wallet checks, limits, provisioning, and authorization.

saveon databases list
saveon databases create my-app starter
saveon databases show <database-id>
saveon databases connection <database-id>
saveon databases delete <database-id>

Keep keys and connection details safe

The CLI prints API responses to your terminal because the command is an explicit developer action. Treat API keys and connection strings as secrets: use a trusted machine, avoid shell history where practical, and never include secrets in issue reports or screenshots.

Use separate API keys for different environments and revoke a key from the workspace when it is no longer needed.

Provider-neutral by design

The CLI speaks in terms of workspaces, databases, packages, regions, service state, and connection access. It does not require developers to know which underlying infrastructure service SaveOn uses.

Continue exploring SaveOn

Choose the next resource for your project, from practical documentation to pricing, security, and support.