Skip to content

Repository files navigation

envswitch

Quickly switch between .env files in your project.

Usage

# Create your .envs directory with files like:# .envs/.env.staging# .envs/.env.prod# .envs/.env.local# List available environments
envswitch --list
# Switch to an environment
envswitch staging
envswitch prod

Installation

curl -fsSL https://raw.githubusercontent.com/8xu/envswitch/main/install.sh | bash

Or manually:

  1. Download the binary for your platform from Releases
  2. Add to PATH
  3. Run envswitch --help

About

CLI tool to switch between .env files

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Used by

Contributors

Languages