envault-cli
v0.1.7
Published
Secure, local-first environment variable management CLI with zero-knowledge encryption
Maintainers
Readme
@envault/cli
Secure, local-first environment variable management
Installation
npm install -g @envault/cliOr use npx without installing:
npx @envault/cli --helpQuick Start
# Initialize a new project
envault init my-app
# Set environment variables
envault set DATABASE_URL=postgresql://localhost/mydb
envault set API_KEY=your-secret-key
# List variables (masked by default)
envault list
# Export to .env file
envault export -o .env
# Run command with injected environment
envault run npm startFeatures
- 🔒 Zero-knowledge encryption - Your secrets never leave your machine unencrypted
- 💻 Local-first - Works 100% offline, no account required
- 🌍 Multi-environment - Manage dev, staging, production, and custom environments
- 👥 Team sync - Optional encrypted team collaboration
- 🔄 Import/Export - Seamless migration from .env files
- 🚀 Fast & lightweight - Built in Go, zero dependencies
Documentation
Full documentation available at envault.net/docs
Commands
envault init- Initialize a new projectenvault set KEY=value- Set an environment variableenvault get KEY- Get a variable valueenvault list- List all variablesenvault unset KEY- Remove a variableenvault run <command>- Run command with env varsenvault import <file>- Import from .env fileenvault export- Export variablesenvault env- Manage environmentsenvault sync- Push/pull encrypted team dataenvault team- Manage team members
Shell Completions
Install shell completions for better CLI experience:
# Bash
envault completion bash > /etc/bash_completion.d/envault
# Zsh
envault completion zsh > "${fpath[1]}/_envault"
# Fish
envault completion fish > ~/.config/fish/completions/envault.fishPlatform Support
- macOS (Intel & Apple Silicon)
- Linux (x64 & ARM64)
- Windows (x64 & ARM64)
Alternative Installation Methods
Homebrew (macOS & Linux)
brew install envault/tap/envaultDirect Download
Download binaries from GitHub Releases
curl Installer
curl -fsSL https://get.envault.net | shSupport
- 📖 Documentation: https://envault.net/docs
- 🐛 Issues: https://github.com/dj-pearson/vault-verse/issues
- 💬 Discussions: https://github.com/dj-pearson/vault-verse/discussions
License
MIT © EnvVault Team
