pcenv

Your configs and secrets in one encrypted vault on your machine. Switch a repo's .env between environments with one command, and let AI agents use your secrets without ever seeing them.

Install

macOS & Linux
curl -fsSL https://pcenv.pogi.codes/install.sh | sh
Windows (PowerShell)
irm https://pcenv.pogi.codes/install.ps1 | iex

No sudo or admin rights. Checks the SHA-256 and adds pcenv to your PATH.

Use

# in any repo
pcenv init                 # import .env into the vault
pcenv use staging          # .env is now on staging
pcenv add OPENAI_API_KEY   # a key shared across your apps
pcenv run staging -- npm test # inject without writing a file

Why

For AI agents

Read llms.txt or the agent install guide.