Skip to main content

Cross-platform CLI that audits your dev environment (Termux, Linux, macOS, Windows)

Project description

devchecker

Cross-platform CLI that audits your development environment: which tools are installed, which versions, where they live on disk, and — for anything missing — the exact command to install it. Works on Linux, macOS, Windows, and Termux (Android).

Install

pip install devchecker

Usage

# Full report, grouped by category
devchecker check

# Only one category
devchecker check --category "Package Managers"

# Search by name
devchecker check --search docker

# Machine-readable output
devchecker check --json
devchecker check --yaml

# One-line summary (good for scripts/CI)
devchecker check --summary

# Only show what's missing
devchecker check --missing-only

# Health check: broken combos + a score out of 100
devchecker doctor

# How do I install a specific tool on this machine?
devchecker install composer

# Compact per-line output with versions
devchecker check -wv
# Git установлен, v.2.43.0
# Docker не установлен

# Automatically install everything that's missing
devchecker autoinstall
devchecker autoinstall --category "Package Managers" --yes

# What platform did devchecker detect?
devchecker info

Python API

from devchecker import check, install

check()                 # -> {"Installed": ["git", "php", "nodejs"],
                         #     "Not_installed": ["composer", "docker", "python"]}
check("git")             # -> checks only git
check("all", True)       # -> versions glued onto installed names, e.g. "composer2.7.1"

install()                 # check()s everything, then installs whatever's missing
install("git")             # only installs git, and only if it isn't already there

install() runs the real package-manager command for your detected platform (apt/pkg/brew/winget, or a documented special case like the Rust installer script). Tools with no safe unattended install path are reported back under "manual_only" instead of being guessed at — check the returned dict's installed / already_installed / failed / manual_only keys.

What it checks

Version control (git, gh), languages (Python, Node.js, PHP, Ruby, Go, Rust, Java, Perl), package managers (npm, yarn, pnpm, pip, Composer, Cargo, RubyGems), containers (Docker, Docker Compose, Podman, kubectl), databases (MySQL, PostgreSQL, Redis, SQLite, MongoDB shell), build tools (Make, CMake, GCC, Clang), and common utilities (curl, wget, ssh, ffmpeg, jq).

devchecker doctor

Beyond a plain installed/missing list, doctor flags broken combinations — PHP without Composer, Node without npm, Docker without Docker Compose — and gives an overall environment health score.

Example JSON output

[
  {
    "key": "git",
    "name": "Git",
    "category": "Version Control",
    "installed": true,
    "version": "2.43.0",
    "path": "/usr/bin/git",
    "required": true,
    "error": null
  }
]

Development

git clone https://github.com/neforskiy/devchecker-python-package
cd devchecker
pip install -e ".[dev]"
pytest
ruff check .

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

devchecker-0.1.0.tar.gz (14.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

devchecker-0.1.0-py3-none-any.whl (18.2 kB view details)

Uploaded Python 3

File details

Details for the file devchecker-0.1.0.tar.gz.

File metadata

  • Download URL: devchecker-0.1.0.tar.gz
  • Upload date:
  • Size: 14.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for devchecker-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d3fbadd2bf985b461acdbab61e714353f951d7984ff25f990a1f8ff0baec49be
MD5 40f8f485b78262e17a4a3459789aebd8
BLAKE2b-256 1cc791fe2542c03480a60558f88948eabd4f11781cbecf569fb3ce7c7df38426

See more details on using hashes here.

File details

Details for the file devchecker-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: devchecker-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 18.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for devchecker-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 43e09f47aa5cd5c9fdc749173fed23dd24ac15413eee528e09ad39a22a22d28d
MD5 ca77b1ca69bbdaacbe579d24f0d1d107
BLAKE2b-256 12536b430546d77e460391a56e3613353dfe1ca49f75f54ed0840d7228b8b44e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page