An open API service indexing awesome lists of open source software.

https://github.com/danilofuchs/how


https://github.com/danilofuchs/how

Last synced: 8 months ago
JSON representation

Awesome Lists containing this project

README

          

# 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

```sh
how
```

Tells you which package managers installed ``.

### Example

```sh
$ how git
> git installed by apt
```

```sh
$ 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](https://rustup.rs/).

Then, run:

```sh
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:

```sh
cargo run
```