Overview
Secure environment file management for developers
goingenv finds, encrypts, and archives your
.env
files with AES-256 encryption.
What it does
Scans directories, finds environment files, encrypts them into secure archives, and restores them when needed.
Why use it
Backup sensitive configs, migrate between environments, share team setups, and automate deployments safely.
One-Line Installation
Install using the automated installer:
curl -sSL
https://raw.githubusercontent.com/spencerjirehcebrian/goingenv/main/install.sh
| bash
Specific Version
curl -sSL
https://raw.githubusercontent.com/spencerjirehcebrian/goingenv/main/install.sh
| bash -s -- --version v0.1.0-beta.11
Development Version
Latest development features:
curl -sSL
https://raw.githubusercontent.com/spencerjirehcebrian/goingenv/develop/install.sh
| bash
Manual Installation
Download Binary
Download the appropriate binary for your platform from the GitHub releases page.
Extract Archive
tar -xzf goingenv-*.tar.gz
Install Binary
sudo mv goingenv /usr/local/bin/
chmod +x
/usr/local/bin/goingenv
Verify Installation
goingenv --version
Quick Start
Get up and running in minutes
Your First Backup
Navigate to Your Project
cd /path/to/your/project
Initialize goingenv
goingenv init
Required first step - sets up goingenv in your project directory.
Check What Files Are Detected
goingenv status
Shows environment files found in your project.
Create Your First Backup
goingenv pack # Interactive password prompt
Creates an encrypted archive of your environment files.
Interactive Mode
For a guided experience, simply run:
goingenv
Launches an interactive interface with arrow key navigation.
Configuration
Customize goingenv behavior with configuration files
Basic Configuration
Create a configuration file at
~/.goingenv.json
to customize default behavior:
{
"default_depth": 3,
"env_patterns": ["\\.env.*"],
"env_exclude_patterns": ["\\.env\\.backup$", "\\.env\\.old$"],
"exclude_patterns": ["node_modules/", "\\.git/", "vendor/"],
"max_file_size": 10485760
}
Pattern Options
-
env_patterns
- Files to include (regex patterns) -
env_exclude_patterns
- Environment files to exclude -
exclude_patterns
- Directories to skip
Behavior Options
-
default_depth
- Directory scan depth (1-10) -
max_file_size
- Maximum file size in bytes
Pattern Examples
All-Inclusive (Default)
"env_patterns": ["\\.env.*"]
Matches: .env, .env.local, .env.development, .env.custom, etc.
Specific Patterns
"env_patterns": ["\\.env$", "\\.env\\.local$",
"\\.env\\.production$"]
Matches only: .env, .env.local, .env.production
Exclude Backups
"env_exclude_patterns": ["\\.env\\.backup$",
"\\.env\\.bak$", "\\.env\\.old$"]
Excludes: .env.backup, .env.bak, .env.old files
Quick Setup
View current configuration:
goingenv status --verbose
Shows current configuration settings and detected files.