Quick Start
Get your environment variables flowing in under 5 minutes.
Prerequisites
- A terminal with
curlinstalled - 5 minutes of time
What you'll accomplish
- Install the EnvCat CLI
- Sign up for an account
- Create your first bundle
- Load environment variables into your shell
Steps
1. Install the CLI
macOS / Linux (recommended):
curl -fsSL https://env.cat/cli/install.sh | sh
Verify installation:
envcat --version
Manual downloads: Visit CLI Reference → Installation for platform-specific binaries.
2. Sign up
Visit env.cat and create an account.
What happens:
- Your account is created
- A personal organization is set up automatically
- You're ready to create bundles
3. Create your first bundle
In the EnvCat dashboard:
- Click Bundles → Create Bundle
- Name it
dev/example - Add description: "My first bundle"
- Click Create
4. Add keys to your bundle
- Click Keys → Create Key
- Add your first key:
- Name:
DATABASE_URL - Value:
postgres://localhost:5432/mydb - Is Secret: ✓ (checked)
- Name:
- Click Create
- Go back to Bundles →
dev/example - Click Attach Key → Select
DATABASE_URL
5. Request and load variables
Open a terminal and run:
eval "$(envcat get --bundle dev/example)"
What happens:
- The CLI creates an ephemeral keypair
- A unique approval URL appears (with QR code)
- You open the URL in your browser
- You select which keys to approve
- Click Approve
- The CLI receives encrypted variables
- Variables are loaded into your shell
Expected output:
🔐 Open this URL in your browser: https://env.cat/approve/abc123
⏳ Waiting for approval (expires in 4:32)
✓ Approved! Loading 1 variable(s) into shell
Verify it worked:
echo $DATABASE_URL
# postgres://localhost:5432/mydb
Alternative: Write to .env file
If you prefer .env files:
envcat get --bundle dev/example --write .env
Then load it:
set -a && source .env && set +a
Troubleshooting
CLI not found: Add /usr/local/bin to your PATH or download manually from CLI downloads.
Request expired: Approval URLs expire after 5 minutes. Run envcat get again.
No variables received: Make sure you selected keys during the approval step.
Next Steps
- Complete Tutorial - Detailed walkthrough
- Learn about Bundles - How bundles work
- CLI Reference - All CLI commands
- Recipes - Common use cases
Security Note
EnvCat uses end-to-end encryption for the approval flow. The server never sees your plaintext secrets during approval—only your CLI can decrypt them.
Running EnvCat yourself? See our GitHub repository for self-hosting instructions.