qcl is an addon that works on top of other package managers like npm and yarn.
It keeps track of all globally installed packages and removes those that have passed their expiry date. This allows you to quickly install temporary packages (or CLIs) without having to worry about uninstalling them.
By default, packages are kept for 48 hours. (See Configuration to change this).
A lot of us have CLIs we installed years ago to interface with some obscure framework we were learning back in 2013. Today, CLIs take up a sizeable chunk of space and can sometimes cause keyword conflicts with other tools we use. To remedy this, you can use
qcl to automatically uninstall that bulky package when you're done using it.
To install the latest version of qcl, run this command:
npm install -g qcl
Cleanup expired packages:
qcl# orqcl cleanup
Install a package:
qcl install express# or with custom expiry timeqcl install express -e 3days
Uninstall a package:
qcl uninstall express
List installed packages (and their expiry date):
Get more help:
qcl --help# or for a specific commandqcl install --help
Currently, qcl supports the use of
yarn using the
package_manager option. Default is
npm. This can be changed using this command:
qcl set package_manager yarn
You can also change the default expiry duration using the
expiry option. Default is
48hours. This can be changed using this command:
qcl set expiry 30mins
- Fork it (https://github.com/PandawanFr/qcl/fork)
- Create your feature branch (
git checkout -b feature/fooBar)
- Commit your changes (
git commit -am 'Add some fooBar')
- Push to the branch (
git push origin feature/fooBar)
- Create a new Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.