# Install window-size with npm

Reliable way to get the height and width of terminal/console, since it's not calculated or updated the same way on all platforms, environments and node.js versions. Version 1.1.1 via npm; verified 2018-07-27. Also installable with debian: sudo apt install window-size.

## Install

```sh
sudo av install npm:window-size
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g window-size
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:window-size
- **Package manager:** npm
- **Version:** 1.1.1
- **Source summary:** Reliable way to get the height and width of terminal/console, since it's not calculated or updated the same way on all platforms, environments and node.js versions.
- **Homepage:** <https://github.com/jonschlinkert/window-size>
- **Last updated:** 2018-07-27T20:21:10.829Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- window-size (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 1.1.1

## Security Notes

No matching local secret-handling manifest was found for window-size. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Other Package-Manager Records

- Debian apt - window-size - 1.1.1+~1.1.0-1: normalized package name match | Debian stable package indexes: window-size from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | get the height and width of the terminal | https://github.com/jonschlinkert/window-size
- Ubuntu apt - window-size - 1.1.1+~1.1.0-1: normalized package name match | Ubuntu 24.04 LTS package indexes: window-size from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | get the height and width of the terminal | https://github.com/jonschlinkert/window-size


## Sources

- pkg.so package database
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
