Agentuity CLI Cloud Env Set

Set an environment variable. Requires authentication. Use for Agentuity cloud platform operations

majiayu000 Updated 567 repo stars

File contents

Cloud Env Set

Set an environment variable

Prerequisites

  • Authenticated with agentuity auth login
  • Project context required (run from project directory or use --project-id)

Usage

agentuity cloud env set <key> <value>

Arguments

Argument Type Required Description
<key> string Yes -
<value> string Yes -

Examples

Run production command:

bunx @agentuity/cli env set NODE_ENV production

Run 3000 command:

bunx @agentuity/cli env set PORT 3000

Run debug command:

bunx @agentuity/cli env set LOG_LEVEL debug

Output

Returns JSON object:

{
  "success": "boolean",
  "key": "string",
  "path": "string"
}
Field Type Description
success boolean Whether the operation succeeded
key string Environment variable key
path string Local file path where env var was saved

majiayu000/claude-skill-registry-data/tree/main/devops/agentuity-cli-cloud-env-set-agentuity-examples commit 52e6c97887

Frequently asked questions

npx skillmds@latest add majiayu000/agentuity-cli-cloud-env-set-2