Guides
VS Code extension
Changes, history, push and pull without leaving the editor.
Guides 1 min read
The StoreEnv extension shows your env files' changes and history in VS Code and runs push, pull, commit and rollback for you. It drives the CLI, which does all the encryption, so install the CLI first.
Install
Or search for StoreEnv in the Extensions view. Then click Sign in in the StoreEnv view; sign in runs in a terminal so you can approve the device or enter your recovery phrase.
$ npm i -g storeenv-cli$ code --install-extension realtusharrr.storeenv-vscode
What you get
- Changes view: which env files changed, key by key, local commits waiting to be pushed and newer versions on StoreEnv.
- History view: every version with author, time and changed keys; roll back with one click.
- Commit locally, even offline. Push later and each commit becomes its own version.
- Push and pull from the view's title bar. A pull that would overwrite unpushed changes asks first and keeps a backup.
- Explorer badges: M on env files with unpushed changes, U on files StoreEnv hasn't seen yet.
- A status bar item with your login and what is waiting.
Settings
storeenv.cliPath | Command used to run the CLI. Default: storeenv. |
storeenv.apiUrl | API address for a self hosted StoreEnv. Default: empty. |
storeenv.refreshInterval | Seconds between background refreshes, 0 to turn off. Default: 60. |
Privacy
The extension never reads secret values itself and sends nothing anywhere. It runs storeenv <command> --json in your workspace and shows key names, counts and history.