https://github.com/luftywiranda13/pkg-man-cli
Detect which package manager that should be used
https://github.com/luftywiranda13/pkg-man-cli
Last synced: about 1 month ago
JSON representation
Detect which package manager that should be used
- Host: GitHub
- URL: https://github.com/luftywiranda13/pkg-man-cli
- Owner: luftywiranda13
- License: mit
- Created: 2017-09-15T18:45:06.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2020-06-03T09:18:53.000Z (about 6 years ago)
- Last Synced: 2025-03-18T11:57:55.213Z (about 1 year ago)
- Language: JavaScript
- Size: 97.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# pkg-man-cli
> Detect which package manager that should be used
[](https://www.npmjs.com/package/pkg-man-cli)
[](https://npm-stat.com/charts.html?package=pkg-man-cli&from=2016-04-01)
[](https://travis-ci.org/luftywiranda13/pkg-man-cli)
## Installation
```sh
npm install --global pkg-man-cli
```
## Usage
```sh
$ pkg-man --help
Usage
$ pkg-man [path]
Options
-p, --preferred Preferred package manager [Default: npm]
Examples
$ pkg-man
$ pkg-man foo
$ pkg-man bar
$ pkg-man ../foo --preferred npm
$ pkg-man ../foo/bar --preferred yarn
```
## Related
* [pkg-man](https://github.com/luftywiranda13/pkg-man) - API for this module
## License
MIT © [Lufty Wiranda](https://www.luftywiranda.com)