iterm2-version
Version:
Get the iTerm2 version
23 lines (14 loc) • 433 B
Markdown
# iterm2-version
> Get the [iTerm2](https://www.iterm2.com) version
Note: The `2` in iTerm2 is [part of the name](https://en.wikipedia.org/wiki/ITerm2) and does not indicate the version.
## Install
```
$ npm install iterm2-version
```
## Usage
```js
import iterm2Version from 'iterm2-version';
iterm2Version();
//=> '3.0.15'
```
If you're running this on a different terminal or operating system, it will return `undefined`.