A CLI tool for managing and syncing
.envfiles across environments with team sharing support.
npm install -g envoy-cliInitialize envoy in your project, then push and pull .env files across your team.
# Initialize envoy in your project
envoy init
# Push your local .env to the shared store
envoy push --env production
# Pull the latest .env for your environment
envoy pull --env production
# List all tracked environments
envoy list# First-time setup
envoy init --project my-app
# Share your .env with the team
envoy push
# A teammate syncs their local environment
envoy pullEnvoy reads from a .envoy.config.json file in your project root, generated automatically by envoy init.
{
"project": "my-app",
"store": "remote",
"environments": ["development", "staging", "production"]
}- Node.js >= 16
- npm or yarn
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.