# Install which-command with npm

Find the absolute path to a command's executable, like the Unix which command. Version 0.1.0 via npm; verified 2026-07-06.

## Install

```sh
sudo av install npm:which-command
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g which-command
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:which-command
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/which-command>
- **Version:** 0.1.0
- **Source summary:** Find the absolute path to a command's executable, like the Unix which command
- **Homepage:** <https://github.com/sindresorhus/which-command#readme>
- **Repository:** <https://github.com/sindresorhus/which-command>
- **Upstream docs:** <https://github.com/sindresorhus/which-command#readme>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/which-command/-/which-command-0.1.0.tgz>
- **Issue tracker:** <https://github.com/sindresorhus/which-command/issues>
- **Published:** 2026-07-06T01:00:41.306Z
- **Last updated:** 2026-07-06T01:00:41.306Z
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- which-command (cli)
- which-command (alias)

## Build dependencies

- xo

## Install behavior

- Post-install hook: not defined
- Bottle: not available

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 0.1.0
- Package-manager updated: 2026-07-06
- Local data: ok
- Upstream repository: https://github.com/sindresorhus/which-command
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for which-command. Package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Latest: 0.1.0
- **Version Count:** 1
- **Maintainers:** sindresorhus
- **Author:** Sindre Sorhus
- **Publisher:** sindresorhus
- **Engines:** Node: >=22
- **Funding:** <https://github.com/sindresorhus/which-command?sponsor=1>
- **Integrity:** sha512-XZyoF5/5hZtXitIwzrU4NKK+Wtbb9aB9CezUEw2Q0wlYK8NUYQxC1rRXgNueYLtBAJwXIb+/tFVk4dozciNJMA==
- **Shasum:** 62828a961c1104d660fbdc397b5a540c629f3d6c
- **Unpacked Size:** 15,855
- **File Count:** 0
- **Created At:** 2026-07-06T01:00:41.084Z
- **Latest Published At:** 2026-07-06T01:00:41.306Z
- **Modified At:** 2026-07-06T01:00:41.591Z


## Related links

- [npm command packages](https://pkg.so/npm-cli-packages/) - Matched curated package taxonomy and local package facts.
- [which](https://pkg.so/npm/which/) - Package names and metadata indicate a similar tool family. Shared terms: executable, find, like, path, unix.
- [run-node](https://pkg.so/npm/run-node/) - Local package facts share a topical domain. Shared terms: bin, binary, find, path, which.
- [filing-cabinet](https://pkg.so/npm/filing-cabinet/) - Local package facts share a topical domain. Shared terms: find, lookup, path, resolve.

## Sources

- pkg.so package database
- package-page enrichment
- package version freshness
- package relationship graph
- cross-ecosystem install command graph
