pkg.soopen package index

brew / 順位 6168

leetcode-cli を Homebrew, Nix でインストール

leetcode-cli のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install leetcode-cli

local Homebrew formula metadata

Linux

Nix確認済み · 92%
nix profile install nixpkgs#leetcode-cli

nixpkgs package indexes · pkgs/by-name/le/leetcode-cli/package.nix · ソース: api.github.com

概要

パッケージ概要

May the code be with you

コマンドとエイリアス

  • leetcode

履歴

プロジェクトの歴史と使われ方

clearloop's `leetcode-cli` is a Rust command-line client for LeetCode workflows: picking problems, opening generated solution files, running sample tests, submitting solutions, filtering problem lists, and managing local cache data.

プロジェクトの歴史

The project is distributed from GitHub and crates.io-style Rust installation paths, with the README emphasizing `cargo install leetcode-cli`, a Nix flake, shell completions, and local configuration.

A notable configuration milestone appears in the v0.4.0 release on 2024-06-24, which introduced the documented TOML configuration layout for editor, cookies, and storage. Later releases expanded everyday coding-practice ergonomics, including daily challenge flags, LeetCode China support, environment-variable cookie overrides, clap-derived commands, and README/docs restructuring.

採用の歴史

The repository shows hundreds of stars and dozens of forks, and the input package facts list Homebrew and Nix packaging. That puts it in the small but active ecosystem of terminal-first LeetCode clients used by programmers who want editor-centric practice instead of browser-only workflows.

使われ方

The README's quickstart has users sign in to LeetCode in a browser, then run commands such as `leetcode pick`, `leetcode edit`, `leetcode test`, and `leetcode exec`. On macOS and Linux, the tool can read Chrome cookies automatically; manual cookie setup and environment-variable overrides are documented for other cases.

パッケージ好きにとっての重要性

The package is interesting because it packages an authenticated web-workflow CLI: browser cookies, local code generation, editor integration, shell completions, SQLite/OpenSSL build concerns, and LeetCode API changes all meet in one terminal tool.

タイムライン

  • 2024-06-24: v0.4.0 release introduced the documented TOML configuration format.
  • 2024-12-24: v0.5.0 release switched command definitions to clap derive.
  • 2026-06-21: v0.5.1 release notes document README/docs restructuring and macOS Chrome-cookie fixes.
  • 2026-06-21: v0.5.2 release bundled SQLite to reduce system build dependency friction.

Related projects

  • It overlaps with other LeetCode CLIs in this batch, especially `leetgo`, `leetup`, and older JavaScript-era LeetCode command-line clients, but clearloop's implementation is Rust-centered and packaged for cargo, Homebrew, and Nix users.

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • Homebrew bottle メタデータは記録されていません。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.leetcode/leetcode.toml

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.leetcode/leetcode.toml

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
leetcode実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-08-03
マネージャ版0.5.4
マネージャ更新日2026-06-29
ローカルデータ不明
上流利用不可
検出された最新未検出
  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:leetcode-cli
バージョン0.5.4
パッケージマネージャHomebrew
ホームページhttps://github.com/clearloop/leetcode-cli
リポジトリhttps://github.com/clearloop/leetcode-cli
最終更新2026-06-29T07:59:28Z
Pulseupdated
Bottle未記録
サービス宣言なし

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Nix95%

leetcode-cli

nix profile install nixpkgs#leetcode-cli
  • normalized package name match
  • 一致条件: Leetcode Cli
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/le/leetcode-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation