macOS
brew install macos-term-sizelocal Homebrew formula metadata
brew
macos-term-size のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install macos-term-sizelocal Homebrew formula metadata
概要
Get the terminal window size on macOS
履歴
macos-term-size is a small C command-line utility that prints the current terminal window size on macOS.
The official repository was created in May 2017. Its README describes a focused macOS utility that works even when run non-interactively, such as from a child process or with output redirected.
The batch input records Homebrew packaging, and the README points users to downloadable release binaries. Repository metadata captured during this run showed modest GitHub adoption, which fits the project's role as a tiny single-purpose helper rather than a broad framework.
The command is installed as `terminal-size` and prints columns followed by rows. The README contrasts this with `tput cols`, showing that `terminal-size` keeps reporting the actual terminal size in situations where `tput` may fall back to a default.
The package is useful because terminal dimensions are a small but annoying portability edge case for scripts. Packaging it in Homebrew gives macOS shell users a dependable native helper without pulling in a larger cross-platform stack.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
term-size | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/sindresorhus/macos-terminal-size
インストールメタデータ
| パッケージキー | brew:macos-term-size |
|---|---|
| バージョン | 1.0.0 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/macos-term-size |
| ホームページ | https://github.com/sindresorhus/macos-terminal-size |
| リポジトリ | https://github.com/sindresorhus/macos-terminal-size |
| 上流ドキュメント | https://github.com/sindresorhus/macos-terminal-size#readme |
| ライセンス | MIT |
| ソースアーカイブ | https://github.com/sindresorhus/macos-terminal-size/archive/refs/tags/v1.0.0.tar.gz |
| Bottle | 利用可能 (対象 arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | macos-term-size |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Requirements |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.