Detect well-known CLI on your computer. Is PHP exists? Is Node.js exists? and many more, along with its version. This tool is like a quick checkup of several well-known CLI.
Install it globally
npm i -g dauh
now you can call it by typing dauh
in your terminal.
- How to update? Just run
npm i -g dauh@latest
and your installation will be updated to the latest version. - How it works? This tool basically just opinionated aggregator of "get version" for each well-known cli, e.g. we detect availability of npm by triggering
npm -v
. - I want to add missing cli, can I? Just open
src/config.ts
and add there. Test it by runningnpx jiti ./src/index.ts
and pull request if you are confident.
MIT
Copyright © 2023 Sony Arianto Kurniawan <sony@sony-ak.com> and contributors.