Documentation

Install the CLI, learn the model and look up every command.

Get started

Your first push

From install to your first push in about a minute.

Get started 1 min read

1. Install

One file, nothing else needed. Run it again to update.

$ curl -fsSL https://storeenv.app/install.sh | sh
# Windows PowerShell: irm https://storeenv.app/install.ps1 | iex
# Homebrew: brew install tusharrr0302/storeenv/storeenv
# npm: npm i -g storeenv-cli

2. Sign in

Your browser opens. Create an account with your email (or sign in) and authorize the terminal. On a new account you'll see a 24-word recovery phrase. Save it, then confirm three words.

$ storeenv login

3. Create the project in your folder

Any folder with a .env file works, with or without Git. init creates the project and writes .storeenv.json; push finds every .env file, encrypts each secret on your machine and creates a version per environment.

$ cd my-app
$ storeenv init
$ storeenv push -m "Initial push"

4. Commit .storeenv.json (if it's a Git repository)

Everyone who clones the code then lands in the same project. The file never holds secrets.

$ git add .storeenv.json && git commit -m "Add StoreEnv project file"

5. Pull anywhere

On a second machine, in a clone or a copy of the folder, sign in and approve the device from the first one, or enter your recovery phrase.

$ cd my-app
$ storeenv login
$ storeenv pull

6. Bring your team

$ storeenv invite teammate@example.com --role editor
!A new member shows as "pending key share" until a device that can read the secrets wraps the keys for them, after you check their fingerprint with storeenv verify. Your next CLI command does the wrapping.