Skip to main content
Use capy run to decrypt .env and pass the plaintext values to your Ruby process as environment variables. Your code reads them the normal way with ENV["KEY"], with no gem to add. Once Capy syncs, .env holds capy:… ciphertext rather than plaintext, so capy run is what supplies the real values.
1

Install the CLI

2

Sync your secrets

3

Run your app

Read env vars the standard way:
4

Invite a teammate

5

Deploy

What’s next

Running your app

The full story on capy run.
Last modified on August 11, 2026