Skip to content

8xu/envswitch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Contributors