# Installer leetgo avec Homebrew, Nix

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de leetgo pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:leetgo
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install leetgo
```

  Preuve: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#leetgo
```

  Preuve: nixpkgs package indexes: pkgs/by-name/le/leetgo/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Faits du paquet

- **Clé du paquet:** brew:leetgo
- **Gestionnaire de paquets:** Homebrew
- **Version:** 1.4.17
- **Résumé source:** CLI tool for LeetCode
- **Page d'accueil:** <https://github.com/j178/leetgo>
- **Dépôt:** <https://github.com/j178/leetgo>
- **Dernière mise à jour:** 2026-07-26T13:41:00+02:00
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- leetgo (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 1.4.17
## Historique du projet et usages

`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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

`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.

### Chronologie

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

### Sources

- <https://github.com/j178/leetgo>
- <https://github.com/j178/leetgo/releases>


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals


## 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

- Unix: leetgo.yaml

## Credential files

- Unix: .env
## Autres enregistrements de gestionnaires de paquets

- Nix - leetgo: normalized package name match | nixpkgs package indexes: pkgs/by-name/le/leetgo/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/leetgo.yml](https://github.com/mxcl/pkgdb/blob/main/combined/leetgo.yml)


## Sources

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