NodeOps
KR

Managing Environment Variables

Set, view, and sync environment variables between your local development environment and CreateOS.


List Variables

Bash
1createos env list

Values are shown in full by default. Use --hide to mask them:

Bash
1createos env list --hide

Set Variables

Bash
1# Set a single variable
2createos env set DATABASE_URL=postgres://localhost:5432/mydb
3
4# Set multiple at once
5createos env set API_KEY=sk-xxx SECRET=my-secret NODE_ENV=production

Remove a Variable

Bash
1createos env rm API_KEY

Sync with Local Files

Pull remote variables to a local .env file

Bash
1createos env pull

This creates a .env.<environment-name> file (e.g., .env.production). The CLI auto-adds .env.* to your .gitignore.

Push local variables to remote

Bash
1createos env push

The CLI reads your .env.<environment-name> file, shows what will change, and asks for confirmation. Use --force to skip confirmation in CI.

Specify a custom file

Bash
1createos env pull --file .env.local
2createos env push --file .env.staging

CI/CD Usage

Bash
1# Set from CI secrets
2createos env set DATABASE_URL=$DB_URL --project <id> --environment <id>
3
4# Pull for local debugging
5createos env pull --project <id> --environment <id> --force

100,000명 이상의 빌더. 하나의 워크스페이스.

제품 업데이트, 빌더 스토리, 더 빠르게 출시할 수 있는 기능에 대한 얼리 액세스를 받아보세요.

CreateOS는 아이디어가 컨셉에서 라이브 배포까지 원활하게 이동하는 통합 지능형 워크스페이스입니다. 도구, 인프라, 워크플로 간의 컨텍스트 전환을 제거하고 CreateOS 마켓플레이스에서 즉시 아이디어를 수익화할 수 있습니다.