Share.env
FeaturesUse casesPricingCLI
Log inStart for free

Your team's secrets deserve better than Slack

Upload your first .env file and see what secret sharing looks like with real access control.

Product

  • CLI
  • API documentation
  • Service status

Legal

  • Privacy policy
  • Terms of service
  • Cookie policy
  • Security
Send an email

share.env

© 2026 share.env. All rights reserved.

Built for teams who take secrets seriously.

CLI

Pull secrets without leaving the terminal

Zero dependencies

envshare is a small command-line tool that clones the repo behind an environment and writes its .env for you, respecting the same password, 2FA, and access-key protection as the web app.

One login, then it stays out of your way

Authenticate once with a device code, the same flow GitHub's CLI uses. From there, every pull is a single command.

  • Device-code login, no password typed into the terminal
  • Protected environments prompt for password and 2FA inline
  • Writes straight to .env with owner-only file permissions
$ envshare login  -> Confirm this code in your browser: QKR4-6BUL  OK Logged in.$ envshare clone acme/api-gateway  Cloning git@github.com:acme/api-gateway.git...  OK Wrote api-gateway/.env

Where it actually gets used

Three moments where a terminal command beats opening the browser.

Onboarding a new teammate

They run one command, confirm a code in the browser once, and the repo plus its .env are both sitting in their working directory.

No more "can you send me the env file" in a DM.

Daily local development

Already have the repo cloned? envshare pull refreshes .env from whatever the workspace currently holds, in place.

The .env in your editor matches what's actually deployed.

Rotating a leaked key

Update the value once in the workspace, then everyone re-runs envshare pull instead of passing the new key around by hand.

The exposure window is one pull, not one thread.

Install it

One package, no separate download. Run it with npx, or install it once if you'll use it daily.

  1. 1Run it directly with npx, nothing to install
  2. 2Or install it once for the plain envshare command
  3. 3Log in and it's ready in any repo
npx @kpz231/envshare login

# or install once:
npm install -g @kpz231/envshare
envshare login

Command reference

Five commands cover the whole workflow.

envshare login

Starts a device-code login and saves your CLI session locally.

envshare list

Lists every environment your account can access, by workspace.

envshare clone <name>

Clones the linked repo and writes its .env, prompting for a password or 2FA code if the environment is protected.

envshare pull

Re-downloads .env into the current directory, for repos already cloned.

envshare logout

Revokes the local session and forgets the saved token.

Stop pasting secrets into chat

Create a workspace, upload your first .env file, and share it with your team in under two minutes.

Create an account