iterm2-version
Get the iTerm2 version
Last updated 3 months ago by sindresorhus .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install iterm2-version 
SYNC missed versions from official npm registry.

iterm2-version

Get the iTerm2 version

Note: The 2 in iTerm2 is part of the name and does not indicate the version.

Install

npm install iterm2-version

Usage

import iterm2Version from 'iterm2-version';

console.log(iterm2Version());
//=> '3.5.10'

If you're not running in iTerm2, it will return undefined.

Works over SSH by querying the terminal via escape sequences when environment variables are not available.

API

iterm2Version()

Returns a string | undefined with the iTerm2 version.

Current Tags

  • 6.0.0                                ...           latest (3 months ago)

11 Versions

  • 6.0.0                                ...           3 months ago
  • 5.0.0                                ...           5 years ago
  • 4.2.0                                ...           7 years ago
  • 4.1.0                                ...           7 years ago
  • 4.0.0                                ...           7 years ago
  • 3.0.0                                ...           8 years ago
  • 2.3.0                                ...           9 years ago
  • 2.2.0                                ...           10 years ago
  • 2.1.0                                ...           10 years ago
  • 2.0.0                                ...           10 years ago
  • 1.0.0                                ...           10 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 11
Last Month 11
Dependencies (3)
Dev Dependencies (3)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |