One command to show your complete debug environment. Node version, npm, OS, arch, shell, terminal, git, CPU, memory, and more. Copy-paste it into bug reports. Zero dependencies.
# Run directly with npx
npx @lxgicstudios/debug-env
# Or install globally
npm install -g @lxgicstudios/debug-env# Colorful terminal output
debug-env
# Markdown table for GitHub issues
debug-env --markdown
# Copy to clipboard (macOS)
debug-env --markdown | pbcopy
# JSON for scripts and automation
debug-env --json- Runtime versions - Node.js, npm, yarn, pnpm, bun
- System info - OS, architecture, CPU model, core count, memory
- Environment - Shell, terminal, locale, timezone, env var count
- Tools - Git, Docker, Python versions
- CI detection - Spots GitHub Actions, GitLab CI, CircleCI, Jenkins, Travis, Vercel, Netlify
- Package manager - Auto-detects from lockfile (npm, yarn, pnpm, bun)
- Global packages - Lists globally installed npm packages
- Multiple formats - Terminal, Markdown, JSON
- Zero dependencies - Built with Node.js builtins only
| Option | Description |
|---|---|
--markdown |
Output as markdown table (great for GitHub issues) |
--json |
Output as JSON |
--help |
Show help message |
--version |
Show version number |
| Category | Detail | Value |
|---|---|---|
| Runtime | Node.js | v22.22.0 |
| Runtime | npm | 10.9.0 |
| System | OS | darwin 24.5.0 |
| System | Architecture | arm64 |
| System | CPU | Apple M2 |
| Env | Shell | /bin/zsh |
| Tools | Git | 2.43.0 |
MIT - LXGIC Studios