NextuneNextune Docs
CLI

Environment Variables

Manage environment variables for applications.

Manage the runtime environment variables for your applications using the nextune app env commands.

List variables

List all environment variables configured for an application:

nextune app env list my-api
# or by ID
nextune app env list 9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d

Output:

KEY                  VALUE
NODE_ENV             production
DATABASE_URL         postgres://...
API_TOKEN            ***

Set variables

Add or update environment variables for an application. You can provide multiple KEY=VALUE pairs in a single command:

nextune app env set my-api NODE_ENV=production PORT=3000

Note: Setting variables does not automatically restart your application. You must run nextune app redeploy for the new variables to take effect.

Remove variables

Remove environment variables from an application:

nextune app env rm my-api NODE_ENV PORT

Like setting variables, removing them requires a redeploy to take effect on the running application.

  • Apps — manage your applications

On this page