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

https://github.com/zacanger/is-program-installed

Check if a program is installed, on Unix-like systems
https://github.com/zacanger/is-program-installed

command exec executable hash program

Last synced: 10 months ago
JSON representation

Check if a program is installed, on Unix-like systems

Awesome Lists containing this project

README

          

# is-program-installed

Check if a program is installed.

[Donate](https://ko-fi.com/zacanger)

--------

## Installation

`npm i is-program-installed`

## Usage

```javascript
const isInstalled = require('is-program-installed')
isInstalled('ls') // => true
isInstalled('Slack.app') // => true
isInstalled('powershell.exe') // => true
isInstalled('valid-linux-app.desktop') // => true
isInstalled('something-that-does-not-exist') // => false
```

[LICENSE](./LICENSE.md)