CLI とは何ですか?
CLI(コマンドラインインターフェース)は、グラフィカルな画面をクリックする代わりに、ターミナルでコマンドを入力してソフトウェアを操作する仕組みです。CLI ツールは開発、自動化、スクリプト、CI パイプライン、反復的な運用作業に役立ちます。
プロダクト CLI、開発者ツール、ターミナルアプリの厳選ディレクトリ — 人・スクリプト・AI エージェント向けに検証済み。
$ dust
Visualize disk usage as an intuitive tree from the command line.
$ esbuild
An extremely fast JavaScript and CSS bundler and minifier.
$ eza
A modern ls replacement with Git status, colors, icons, and tree views.
$ fd
A fast and user-friendly alternative to the traditional find command.
$ fnm
A fast cross-platform Node.js version manager written in Rust.
$ git-cliff
Generate customizable changelogs from conventional Git history.
$ grpcurl
Interact with gRPC servers using a curl-like command-line interface.
$ hyperfine
Benchmark command-line programs with warmups and statistical analysis.
$ kubectl
The canonical command line for deploying, inspecting, and debugging Kubernetes workloads and clusters.
$ litecli
A SQLite terminal client with completion and formatted tables.
$ mcpfold
Local CLI and proxy for managing shared MCP configurations, scoped tool selection and secret references.
$ mpv
A powerful scriptable media player controlled from the command line.
$ mycli
A MySQL terminal client with autocompletion and syntax highlighting.
$ ncdu
Analyze disk usage with a fast interactive terminal interface.
$ ngrok
Create secure public endpoints for local services, inspect traffic, and configure tunnels and agents.
$ nnn
A fast terminal file manager with plugins and desktop integration.
$ pgcli
A PostgreSQL terminal client with smart completion and highlighting.
$ pnpm
A fast, disk-efficient package manager for JavaScript projects and workspaces.
$ procs
A modern ps replacement with search, trees, and useful columns.
$ ranger
A console file manager with Vi key bindings and previews.
$ rclone
Command-line tool for cloud storage file management.
$ release-it
Automate versioning, changelogs, Git tags, and package releases.
$ s5cmd
A fast parallel command-line tool for Amazon S3 and local files.
$ semantic-release
Fully automate semantic versioning and package publishing from commits.
$ shfmt
Format, parse, and inspect shell programs consistently.
$ sqlite-utils
Create, transform, query, and inspect SQLite databases from scripts.
$ tldr
Community-maintained command documentation focused on practical examples.
$ tmate
Share a live terminal session securely for pairing and support.
$ trash
Move files to the system trash instead of deleting them permanently.
$ usql
A universal command-line interface for SQL and NoSQL databases.
CLI ツール、Agent CLI、コマンドライン自動化に関するよくある質問
CLI(コマンドラインインターフェース)は、グラフィカルな画面をクリックする代わりに、ターミナルでコマンドを入力してソフトウェアを操作する仕組みです。CLI ツールは開発、自動化、スクリプト、CI パイプライン、反復的な運用作業に役立ちます。
Agent CLI とは、AI エージェントを操作するためのコマンドラインツール、または AI エージェントから確実に呼び出せるよう設計された従来型 CLI のことです。エージェントフレンドリーな CLI は、明確なコマンド、非対話オプション、予測可能な出力、意味のある終了コードを備えており、エージェントが作業を計画・実行・検証できます。
はい。AI コーディングエージェントはシェル経由でこれらの CLI の多くを呼び出し、リポジトリ、クラウドサービス、データベース、生産性アプリ、デプロイシステムを操作できます。「エージェント対応」マークの付いたツールはスクリプト実行や自律的な利用に特に適していますが、認証と権限は安全に設定する必要があります。
AI エージェントに最適な CLI ツールは、非対話コマンド、安定したフラグ、構造化またはパース可能な出力、標準入出力、文書化された認証、信頼できる終了コードをサポートしています。これらの特徴により、エージェントは人手を介さずに結果を解釈・検証しやすくなります。
ファーストパーティのサポート、サービス API との密な整合、予測可能なアップデートが必要な場合は公式 CLI を選びましょう。よりシンプルなワークフローや公式ツールにない機能を提供している場合は、コミュニティ CLI の方が適していることもあります。使用前にリポジトリ、メンテナンス状況、権限、インストール手順を確認してください。
API キーをリポジトリ、プロンプト、シェル履歴に置かず、OS のキーチェーン、環境変数、専用のシークレットストアを使いましょう。人と AI エージェントには最小権限のアクセスを付与し、読み取り専用またはテスト環境から始め、自動化コマンドがプレビュー、明示的な確認操作、信頼できる終了コードをサポートしていることを確認してください。