Skip to content
JS
Package

detect-terminal

Detect the terminal program currently being used, with support for iTerm, Terminal.app, Hyper, iTerm2, ConEmu, Cmde,r Alacritty, Xterm, Terminator, Termux, Kitty, and others. Detection is based on environment variables and process-level indicators to iden

v3.0.0, 13 May 2026MITESM + CommonJSTypes: BundledCLI tools and terminal utilitiesConfiguration
$ npm install detect-terminal

Key numbers

As of 25 Sept 2026
Weekly downloads
3.6k
+20341% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
4 months ago
v3.0.0
GitHub stars
-
Open issues / PRs
- / -
Contributors
-
Commits, last 52 weeks
-

Downloads

Last week 2026-09-15 to 2026-09-21
02k4k6k8kSept 2025Mar 2026Sept 2026High 6.9k (31 Mar 2026)Low 6 (23 Sept 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

3,646 downloads last week, 14,215 in the last month. The 12-month change of +20341% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
3.0.0, 13 May 20264 months ago
First published
-
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
7

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
508 kB
Dependencies (0)
None
npm install detect-terminal
  • jsDelivrhttps://cdn.jsdelivr.net/npm/detect-terminal@3.0.0/
  • unpkghttps://unpkg.com/detect-terminal@3.0.0/
  • esm.shhttps://esm.sh/detect-terminal@3.0.0
PackageWeekly downloadsGzipLast releaseModuleComparison
colors-option156.9k-10 months agoESM only-
arkenv23.4k-1 day agoESM only-
@arkenv/cli15.3k-2 months agoESM + CommonJS-
rulesync148.1k-todayESM + CommonJS-
@firanorg/mollitia-molestias-accusamus6.7k-1 year agoCommonJS-
opter9.1k-11 years agoCommonJS-
Sources: npm registry, npm downloads API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): downloads_week 3646 < 10000; GitHub data not fetched yet.