Portable CLI script to validate required tools, environment variables, and system configs — because "it works on my machine" is not a QA strategy.
- ✅ Validate system tools (e.g., git, curl, docker)
- 🔍 Check for missing environment variables
- 🧪 Configurable validation list
- 💡 Human-friendly output with emojis
git clone https://github.com/Codex1ntech/env-checker-cli.git
cd env-checker-cli
chmod +x scripts/env-check.sh
./scripts/env-check.sh -c config.envYou can create a custom .env file to define which variables must exist:
API_KEY=your-api-key
USER=nazSave it as config.env or pass a custom one using -c yourfile.env.
🔍 Checking tools...
✅ git found
✅ curl found
❌ docker missing
🔍 Checking variables...
❌ ENV "API_KEY" is not set
✅ ENV "USER" is set
✅ Doneenv-checker-cli/
├── README.md
├── LICENSE
├── config.env.example
├── scripts/
│ └── env-check.sh
├── examples/
│ └── sample-output.txt
./scripts/env-check.sh
./scripts/env-check.sh -c my-config.envMIT License © Codex1ntech