macOS
brew install leetcode-clilocal Homebrew formula metadata
brew / rank 6168
May the code be with you. Version 0.5.4 via Homebrew; verified 2026-06-29. Also installable with nix: nix profile install nixpkgs#leetcode-cli.
install
brew install leetcode-clilocal Homebrew formula metadata
nix profile install nixpkgs#leetcode-clinixpkgs package indexes · pkgs/by-name/le/leetcode-cli/package.nix · source: api.github.com
overview
May the code be with you
history
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.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
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.
Config paths the tool may read or write during local use.
~/.leetcode/leetcode.tomlCredential-bearing paths to review before unattended agent runs.
~/.leetcode/leetcode.tomlexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
leetcode | executable | indexed executable | Discovered from the local executable index. |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:leetcode-cli |
|---|---|
| Version | 0.5.4 |
| Package manager | Homebrew |
| Homepage | https://github.com/clearloop/leetcode-cli |
| Repository | https://github.com/clearloop/leetcode-cli |
| Last updated | 2026-06-29T07:59:28Z |
| Pulse | updated |
| Bottle | not recorded |
| Service | none declared |
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
leetcode-cli
nix profile install nixpkgs#leetcode-clisource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.