# Agentuity CLI Cloud Env Pull

> Pull environment variables from cloud to local .env file. Requires authentication. Use for Agentuity cloud platform operations

- Skill: `agentuity/agentuity-cli-cloud-env-pull` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentuity/agentuity-cli-cloud-env-pull`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentuity/agentuity-cli-cloud-env-pull/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- License: Apache-2.0
- Author: agentuity (https://skillmd.com/u/agentuity)
- Updated: 2026-09-10
- Page: https://skillmd.com/skills/agentuity/agentuity-cli-cloud-env-pull

---


# Cloud Env Pull

Pull environment variables from cloud to local .env file

## Prerequisites

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

## Usage

```bash
agentuity cloud env pull [options]
```

## Options

| Option | Type | Required | Default | Description |
|--------|------|----------|---------|-------------|
| `--force` | boolean | No | `false` | overwrite local values with cloud values |

## Examples

Run pull command:

```bash
bunx @agentuity/cli env pull
```

Use force option:

```bash
bunx @agentuity/cli env pull --force
```

## Output

Returns JSON object:

```json
{
  "success": "boolean",
  "pulled": "number",
  "path": "string",
  "force": "boolean"
}
```

| Field | Type | Description |
|-------|------|-------------|
| `success` | boolean | Whether pull succeeded |
| `pulled` | number | Number of items pulled |
| `path` | string | Local file path where variables were saved |
| `force` | boolean | Whether force mode was used |

