>_Installation
Quick installation on Linux and macOS. View all releases.
One-line installation
Install using the shell script:
curl -sSL https://raw.githubusercontent.com/spencerjireh/goingenv/main/install.sh | bash
Install using the automated installer:
curl -sSL https://raw.githubusercontent.com/spencerjireh/goingenv/main/install.sh | bash
Native Windows support coming soon.
In the meantime, you can use WSL (Windows Subsystem for Linux) and follow the Linux installation instructions.
Specific version
curl -sSL https://raw.githubusercontent.com/spencerjireh/goingenv/main/install.sh | bash -s -- --version v1.1.0
Development version
Latest development features:
curl -sSL https://raw.githubusercontent.com/spencerjireh/goingenv/develop/install.sh | bash
Manual installation
01 Download the appropriate binary for your platform from the GitHub releases page.
02 Extract the archive:
tar -xzf goingenv-*.tar.gz
03 Install the binary:
sudo mv goingenv /usr/local/bin/
chmod +x /usr/local/bin/goingenv
04 Verify the installation:
goingenv --version
>_Quick Start
Get up and running in minutes.
Your first backup
01 Navigate to your project:
cd /path/to/your/project
02 Initialize goingenv:
goingenv init
Required first step. Sets up goingenv in your project directory.
03 Check what files are detected:
goingenv status
Shows environment files found in your project.
04 Create your first backup:
goingenv pack
Creates an encrypted archive. encrypted in 0.003s
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": 10,
"env_patterns": ["\\.env.*"],
"env_exclude_patterns": [],
"exclude_patterns": ["node_modules/", "\\.git/", "vendor/", "dist/", "build/", "target/", "bin/", "obj/", "\\.next/", "\\.nuxt/", "coverage/"],
"max_file_size": 10485760
}
Pattern options
- 01
env_patterns- Files to include - 02
env_exclude_patterns- Files to skip - 03
exclude_patterns- Dirs to skip
Behavior options
- 01
default_depth- Scan depth (1-10) - 02
max_file_size- Max 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.