NodeOps
UK

CreateOS CLI / Manage Environment Variables

Manage Environment Variables from the Command Line

Set, list, remove, pull, and push environment variables between local .env files and remote environments. No dashboard needed.

$ createos env

How to manage environment variables

1

List current variables

$ createos env list

Shows all environment variables. Values are visible by default, use --hide to mask them.

2

Set variables

$ createos env set DATABASE_URL=postgres://... API_KEY=sk-xxx

Set one or more variables in a single command.

3

Pull to local .env file

$ createos env pull

Downloads remote variables to a local .env file for development.

4

Push from local file

$ createos env push

Uploads variables from your local .env file to the remote environment.

Flags and options

FlagDescription
--project <id>Project ID
--environment <id>Environment ID
--hideMask values in list output
--file <path>Custom .env file path for pull/push
--forceSkip confirmation prompts

Examples

# Set multiple variables

$ createos env set DB_HOST=db.example.com DB_PORT=5432

# Pull for local dev

$ createos env pull --file .env.local

# Push in CI

$ createos env push --force --project $ID --environment $ENV_ID

# Remove a variable

$ createos env rm OLD_API_KEY

Frequently asked questions

How do I sync environment variables between local and remote?
Use createos env pull to download remote variables to a local .env file, and createos env push to upload your local .env file to the remote environment. The CLI auto-names the file based on your environment (e.g., .env.production).
Are environment variables encrypted?
Variables are transmitted over HTTPS and stored securely on CreateOS servers. The CLI never writes raw values to logs or debug output. Use --hide to mask values when listing.
Can I manage env vars in CI/CD?
Yes. Use createos env set KEY=value --project $ID --environment $ENV_ID with explicit flags. No interactive prompts are required.

Get started with CreateOS CLI

$ brew install createos

100,000+ Builders. One Workspace.

Get product updates, builder stories, and early access to features that help you ship faster.

CreateOS is a unified intelligent workspace where ideas move seamlessly from concept to live deployment, eliminating context-switching across tools, infrastructure, and workflows with the opportunity to monetize ideas immediately on the CreateOS Marketplace.