{"repo":"jcouture/nv","free":true,"listed":false,"github":"https://github.com/jcouture/nv","clone":"git clone https://github.com/jcouture/nv.git","description":"CLI to load .env files, validate env schemas, and run commands with predictable environment variables","language":"Go","stars":77,"topics":["environment-variables","golang","cli","command-line","configuration","developer-tools","devops","dotenv","env","envvars"],"license":"MIT","category":"cli-tools","readme_excerpt":"nv runs any command with predictable environment variables from your .env files. Think “one-shot dotenv runner” for scripts, deploys, and local apps. Quick start Install - macOS (Homebrew): You may see a trust warning about jcouture/nv during install — this is a Homebrew alias and can be ignored; the cask itself is trusted. To silence future warnings, trust the tap explicitly: - Linux/Windows/macOS (binary): download the latest release from https://github.com/jcouture/nv/releases To verify the release signature: Run a command with env vars nv loads the file(s) you point at and starts your command with those variables. Nothing is left running after the command exits. Migrating from v2 The old tap ( jcouture/nv ) will not receive further updates. To upgrade: If you want to stay on v2, no action is required. To block any future upgrades of the legacy formula, run brew pin nv . v3 includes breaking changes. Review the release notes before upgrading. Everyday moves - Cascade the usual dotenv chain : .env , .env.local , .env. , .env. .local When you pass -e/--env-file , cascading turns off (with a warning) so only the files you listed are used. - Point at specific files (multiple allowed) - Override inline for a one-off - Preview without running - Export for another tool - Validate before you run (defaults to .env.example as schema) Validation checks that your real .env has every required key and that required ones are non-empty. The schema file is just a list of keys with optional","default_branch":null,"files":null,"tree":[],"storefront":"/r/jcouture","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jcouture/nv/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}