Devfetch

Getting Started

Welcome to the official devfetch documentation. devfetch is a fast, Rust-powered CLI that analyzes your system and reveals your developer tools, package managers, and project ecosystems.


Installation

Currently, devfetch is officially packaged for Fedora and Debian-based systems. We are working on adding support for more package managers (like Homebrew) soon.

Fedora (COPR)

$ sudo dnf copr enable hazedev/Devfetch
$ sudo dnf install devfetch

Debian / Ubuntu

Download the latest release from the GitHub Releases page:

$ wget https://github.com/Haze-dev1/Devfetch/releases/latest/download/devfetch_1.0.2_amd64.deb
$ sudo dpkg -i devfetch_1.0.2_amd64.deb

Usage

Using devfetch is extremely simple. Just open your terminal and type devfetch. It will automatically detect your OS, kernel, installed package managers, and developer tools like Rust, Node.js, Python, Git, and more.

$ devfetch

To output the findings in JSON format (useful for scripting or CI environments), use the --json flag:

$ devfetch --json

For a list of all available commands and flags, use:

$ devfetch --help

Output Explanation

When you run devfetch, the tool will scan a predefined list of paths and binaries. It organizes its output logically:

  • Package Managers: Checks for common global package tools like dnf, apt, pacman, flatpak.
  • Languages & Runtimes: Detects rustc/cargo, node/npm, python, go, etc.
  • Ecosystems: If run inside a project directory, it detects local package tools (e.g., Cargo.toml implies a Rust project).

Contributing

Devfetch is an open-source project and we welcome community contributions. Since the tool is written in Rust, you'll need a working Cargo environment to build it from source.

$ git clone https://github.com/Haze-dev1/Devfetch.git
$ cd Devfetch
$ cargo build --release

Feel free to open an issue or a Pull Request on our GitHub repository.