lazyenv

command module
v0.5.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 6, 2026 License: MIT Imports: 8 Imported by: 0

README

lazyenv

CI Go Report Card GoDoc GitHub tag GitHub Downloads GitHub repo size

TUI for managing .env files — written in Go with Bubble Tea.

Browse, compare, edit and validate environment variables from your terminal.

Documentation | Releases

lazyenv demo

Features

  • Two-panel layout with file list and variables, inline editing
  • File management: create, duplicate, rename, delete, and generate templates — all without leaving the TUI
  • Side-by-side diff between two files with bidirectional copy
  • Completeness matrix showing which variables exist across files
  • Change tracking: new, modified, deleted, duplicate, empty, placeholder
  • Secret masking, gitignore check, automatic backup — all configurable
  • Clipboard support (OSC 52), search and sort
  • Round-trip fidelity: saves preserve comments, blank lines, quoting
  • TOML configuration: layout, colors, file patterns, behaviors
  • Mouse support: click to select, scroll wheel to navigate (disable with --no-mouse)
  • 56 built-in color themes with interactive preview (--themes)

Install

Homebrew (macOS & Linux):

brew install lazynop/tap/lazyenv

AUR (Arch Linux):

yay -S lazyenv-bin

Scoop (Windows):

scoop bucket add lazynop https://github.com/lazynop/scoop-bucket
scoop install lazyenv

Or download a binary from Releases, or install from source (requires Go 1.26+):

go install github.com/lazynop/lazyenv@latest

Quick start

lazyenv                  # scan current directory for .env files
lazyenv path/to/dir      # scan a specific directory
lazyenv -r               # scan recursively into subdirectories

See the full documentation for usage & flags, configuration, and keybindings.

License

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
tui

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL