pkg.soopen package index

brew / rank 7606

Install leetgo with Homebrew, Nix

CLI tool for LeetCode. Version 1.4.17 via Homebrew; verified 2026-07-26. Also installable with nix: nix profile install nixpkgs#leetgo.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install leetgo

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#leetgo

nixpkgs package indexes · pkgs/by-name/le/leetgo/package.nix · source: api.github.com

overview

Package summary

CLI tool for LeetCode

Commands and aliases

  • leetgo

history

Project history and usage

`leetgo` is a Go-based LeetCode CLI that generates problem descriptions, skeleton code, test harnesses, contest files, and local test workflows for people who want to solve LeetCode problems from a terminal and editor.

Project history

The project README describes `leetgo` as a terminal companion for LeetCode with code generation, local testing, contest support, automatic browser-cookie reading, and optional OpenAI-assisted fix support. It supports both leetcode.com and leetcode.cn.

The v1.4 configuration change is a useful marker in the project's evolution: the README states that since v1.4, `leetgo` stopped reading the global `~/.config/leetgo/config.yaml` file and moved configuration into a project-local `leetgo.yaml` discovered by walking upward from the working directory.

Adoption history

The repository shows hundreds of stars, dozens of forks, and many tagged releases. The README documents Homebrew, Scoop, Arch, installer-script, and `go install` installation paths, which is a broader packaging surface than many LeetCode helper CLIs.

How it is used

A typical workflow is `leetgo init`, edit `leetgo.yaml`, `leetgo pick`, `leetgo test`, and `leetgo submit`. The tool can generate complete runnable programs for several languages and uses browser cookies, explicit cookies, or environment variables for LeetCode authentication.

Why package nerds care

`leetgo` is a good package-nerd example of a language-specific productivity CLI that still needs cross-platform release automation, shell installation paths, browser-cookie integration, per-project config discovery, and generated source layouts for many programming languages.

Timeline

  • 2024: v1.4-era documentation moved configuration into project-local `leetgo.yaml` files.
  • 2024-11-04: v1.4.10 release notes document a Chrome cookie decryption fix.
  • 2024-12-28: v1.4.13 release added support for multiple credential sources.
  • 2026-04-04: v1.4.17 was released.

Related projects

  • The README credits EndlessCheng/codeforces-go, clearloop/leetcode-cli, budougumi0617/leetgode, and skygragon/leetcode-cli as inspirations.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew bottle metadata was recorded.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

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
leetgo.yaml

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
.env

executables

Installed executables

CommandKindExposureNote
leetgoexecutableindexed executableDiscovered from the local executable index.

freshness

Version and 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.

page generated2026-08-03
manager version1.4.17
manager updated2026-07-26
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:leetgo
Version1.4.17
Package managerHomebrew
Homepagehttps://github.com/j178/leetgo
Repositoryhttps://github.com/j178/leetgo
Last updated2026-07-26T13:41:00+02:00
Pulseupdated
Bottlenot recorded
Servicenone declared

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

leetgo

nix profile install nixpkgs#leetgo
  • normalized package name match
  • Matched by: Leetgo
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/le/leetgo/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • 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