Files and built-in tools

Slinky vs direnv

direnv loads a folder’s .envrc when you cd into it and unloads it when you leave. It’s fast and works in many shells, but it doesn’t encrypt anything: the .envrc is a plain-text script, unless it calls a secret manager.

Choose direnv if

  • You set far more than secrets per folder: paths, tool versions, layouts.
  • You use a shell Slinky’s hook doesn’t cover.
  • Your values aren’t secret.

Choose Slinky if

  • The values are real keys and you don’t want them in a file.
  • You want to approve with Touch ID before your keys load.
  • You want AI agents to see names only.

Side by side

Slinkydirenv
Made for API keys and tokensYesNo
A project’s .env, per environmentYesPartly: One .envrc per folder
Starts your app with its variablesYes: slinky runPartly: Loads when you cd
AI agents see names, not valuesYesNo: Any shell there gets them
Backup codes that cross themselves offYesNo
Where your secrets are keptAn encrypted file on your MacPlain text in .envrc
Works without an accountYesYes
Share with your teamYes: Encrypted files, no serverNo
Opens with Touch IDYesNo
Open sourceYes: MITYes: MIT
PriceFreeFree
Runs onMac, Apple siliconMac and Linux, many shells

Yes Partly No As of October 2026, from direnv.net. Features and prices change.

Questions

Does Slinky load variables when I cd?

Yes, if you turn it on. slinky hook zsh (or bash or fish) adds shell code that loads a linked project’s variables when you cd into it and unloads them when you leave.

Can I keep direnv and get the values from Slinky?

Yes. In .envrc, use eval "$(slinky env --export)". Slinky asks before printing the export lines, and the .envrc itself holds no values.

Is Slinky free?

Yes. Slinky is free and open source under the MIT License, made by Testament Made, LLC. It runs on Apple silicon Macs with macOS 15 Sequoia or later.

More comparisons

Give your secrets a home.

Free, about 6 MB, and nothing leaves your Mac.

Download for Macv2.0.0 · macOS 15 Sequoia · Apple silicon ·