# which (Rust)

> Find an installed executable on PATH from Rust, like Unix which

Source: https://talira.ai/catalog/which-rust-gw9tnkph
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / process management](https://talira.ai/categories/libraries/process-management), [languages / rust](https://talira.ai/categories/languages/rust)
- Licence: MIT[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [harryfei](https://talira.ai/orgs/harryfei.md)

which is a [Rust](https://talira.ai/catalog/rust-mf51vs5t.md) crate equivalent to the Unix `which` command: it locates an installed executable on the PATH, across Linux, Windows, macOS and WASI targets. Environments without system access can plug in their own `Sys` implementation.

## Links

- GitHub: https://github.com/harryfei/which-rs
- Docs: https://docs.rs/which

## Problems it solves

- check if a program is installed from Rust
- find the path of an executable in a cross-platform Rust CLI
- locate git or rustc from a Rust build script

## Features

- locate executables on PATH
- Linux, Windows, macOS and WASI
- pluggable system interface

## Trust

Overall: 0.44 out of 1.
Signals: maintenance 0.61, adoption 0.49, momentum 0.14, community 0.65, backing 0.30, extensibility 0.00.

- last commit 11 days ago
- 2 commits in the last 90 days
- latest release 8.0.6 3 months ago
- 271 GitHub stars
- 42 contributors
- backed by harryfei

## Sources

[^1]: https://github.com/harryfei/which-rs/blob/master/LICENSE.txt (checked 29 Nov 2026)
