jaccard env add OPENAI_API_KEY # value from stdin, or a hidden prompt
jaccard env add NODE_ENV --value production --config
jaccard env ls # secrets print "Hidden"
jaccard env rm NODE_ENV
jaccard env pull # writes .env.local and gitignores .env*
Adding or removing a variable restarts the agent. An agent first deployed without any variables picks them up on its next deploy instead.
jaccard env [OPTIONS] <COMMAND>
| Option | What it does |
|---|---|
--agent <AGENT> | Agent to act on. Defaults to the current directory’s name. |
| Command | What it does |
|---|---|
env add <NAME> | Set a variable. Reads the value from --value, else stdin, else a hidden prompt.--value <VALUE>: Set the value without a prompt. It lands in your shell history and in ps, so prefer stdin.--config: Store it as readable configuration rather than a secret.-f, --force: Replace an existing variable. |
env ls | List variables. Secret values show as Hidden. |
env rm <NAME> | Remove a variable. |
env pull [FILE] | Write the environment to a file, secrets included.[FILE]: Default .env.local.-y, --yes: Overwrite a file this command did not write. |
ANTHROPIC_API_KEY, OPENAI_API_KEY and OPENROUTER_API_KEY are always stored as secrets, even with --config.