Skip to content

danilofuchs/how

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How

which for your executables.

A Linux/MacOS CLI to discover which package manager installed a command.

Useful when updating, removing, or troubleshooting packages.

Usage

how <command>

Tells you which package managers installed <command>.

Example

$ how git
> git installed by apt
$ how starship
> starship installed by cargo
> starship installed by brew

Installation

You must have Rust installed. If you don't, you can install it with rustup.

Then, run:

cargo install --git https://github.com/danilofuchs/how.git

You also must have which installed.

Supported package managers

  • apt
  • Homebrew / Linuxbrew
  • npm -g
  • pip and pip3
  • snap
  • cargo
  • asdf

Contributing

  1. Install Rust
  2. Clone this repository

To run the CLI:

cargo run <command>

About

which, but lists package managers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages