# Installer basedpyright avec Homebrew, Nix

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

## installation

```sh
sudo av install brew:basedpyright
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install basedpyright
```

  Preuve: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#basedpyright
```

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

## Faits du paquet

- **Clé du paquet:** brew:basedpyright
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/basedpyright>
- **Version:** 1.39.9
- **Résumé source:** Pyright fork with various improvements and built-in pylance features
- **Page d'accueil:** <https://docs.basedpyright.com>
- **Docs amont:** <https://docs.basedpyright.com>
- **Licence:** MIT
- **Archive source:** <https://registry.npmjs.org/basedpyright/-/basedpyright-1.39.9.tgz>
- **Dernière mise à jour:** 2026-06-28T03:19:45Z
- **Généré:** 2026-08-04T22:13:35+00:00

## exécutables

- basedpyright (cli)
- basedpyright-langserver (cli)
- basedpyright (alias)
- basedpyright-langserver (alias)

## Dépendances

- node

## Comportement d'installation

- hook post-installation: non défini
- Bouteille: disponible sur all

## Version et fraîcheur

- page générée: 2026-08-04
- version du gestionnaire: 1.39.9
- gestionnaire mis à jour: 2026-06-28
- données locales: OK
- dépôt amont: https://docs.basedpyright.com
- info: Release/tag comparison is only available for GitHub repositories.
## Historique du projet et usages

basedpyright is a fork of Microsoft's Pyright type checker and language server for Python. It adds stricter defaults, additional diagnostics, PyPI distribution, version pinning, and reimplemented Pylance features for editors outside VS Code.

### Historique du projet

The official documentation describes basedpyright as a Pyright fork with type-checking improvements, Pylance features, and more. Its documentation site and README both point to the GitHub repository and organize the project around benefits over upstream Pyright.

The release stream tracks upstream Pyright closely. The latest documentation canonical URL observed for this batch was v1.39.9, and GitHub release metadata for v1.39.9 names the paired Pyright version as 1.1.411.

### Historique d'adoption

basedpyright is distributed through several developer channels: PyPI, the Visual Studio Marketplace, Open VSX, Sublime Text Package Control, Homebrew, and Nix according to the README badges and input metadata. That spread reflects its role as both a CLI checker and language server.

A major adoption hook is that users can install it from PyPI without Node.js, while the VS Code extension uses the same version to avoid different diagnostics between editor and CLI.

### Modes d'utilisation

Users run basedpyright as a command-line type checker or basedpyright-langserver as an editor language server. Configuration follows Pyright-style project configuration in pyrightconfig.json or pyproject.toml.

The docs emphasize stricter defaults, new diagnostic rules, baseline support for adopting those rules in existing projects, and Pylance-like language-server behavior outside Microsoft's closed-source Pylance extension.

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

basedpyright is important in package-manager culture because it repackages a Node-centered Python type checker as a Python-installable tool and aligns editor and CLI versions. That solves a real packaging pain point for Python projects that want type checking without a JavaScript toolchain.

It also shows a common modern fork pattern: take a successful corporate-backed open-source core, add stricter defaults and features withheld in a closed extension, and distribute it through every editor/package channel where Python developers already work.

### Chronologie

- 2020s: basedpyright forked Pyright to add stricter checks, Pylance-like features, and packaging changes.
- 2020s: Documentation organized a Benefits over Pyright section covering baselines, better defaults, new diagnostics, and language-server improvements.
- 2026: v1.39.9 was published with Pyright 1.1.411 alignment according to GitHub release metadata.

### Related projects

- Pyright is the upstream Microsoft type checker that basedpyright forks.
- Pylance is Microsoft's closed-source VS Code extension whose features basedpyright reimplements for wider editor use.
- Mypy, Pyre, and pytype are related Python static type checkers, but basedpyright's direct lineage is Pyright.

### Sources

- <https://docs.basedpyright.com/latest>
- <https://docs.basedpyright.com/latest/benefits-over-pyright/>
- <https://github.com/DetachHead/basedpyright#readme>
- <https://github.com/DetachHead/basedpyright/releases>
- source_facts.package-manager


## Notes de sécurité

Aucun manifest local de gestion des secrets correspondant n'a été trouvé pour basedpyright. Les métadonnées de paquet restent publiées ici afin que la couverture future dispose d'une URL stable.



## 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: <project-root>/pyrightconfig.json, <project-root>/pyproject.toml
## Détails de la base source

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** basedpyright
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Autres enregistrements de gestionnaires de paquets

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


## Liens liés

- [Terminal utility packages](https://pkg.so/fr/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/fr/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/fr/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://pkg.so/fr/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [node](https://pkg.so/fr/brew/node/) - Runtime dependency declared by Homebrew.
- [pyright](https://pkg.so/fr/brew/pyright/) - Shares pkgdb curated category or tags: cli, developer-tools, language-server, python, static-analysis.
- [pyrefly](https://pkg.so/fr/brew/pyrefly/) - Shares pkgdb curated category or tags: cli, developer-tools, language-server, python, static-analysis.
- [mypy](https://pkg.so/fr/brew/mypy/) - Shares pkgdb curated category or tags: cli, developer-tools, python, static-analysis, type-checker.
- [python-lsp-server](https://pkg.so/fr/brew/python-lsp-server/) - Shares pkgdb curated category or tags: cli, developer-tools, language-server, python, static-analysis.
- [pylyzer](https://pkg.so/fr/brew/pylyzer/) - Shares pkgdb curated category or tags: cli, developer-tools, language-server, python, static-analysis.
- [pipx](https://pkg.so/fr/brew/pipx/) - Shares pkgdb curated category or tags: cli, developer-tools, python.
- [ruff](https://pkg.so/fr/brew/ruff/) - Shares pkgdb curated category or tags: cli, developer-tools, python, static-analysis.
- [poetry](https://pkg.so/fr/brew/poetry/) - Shares pkgdb curated category or tags: cli, developer-tools, python.
- [basedpyright](https://pkg.so/fr/npm/basedpyright/) - Same normalized package name appears in another local ecosystem. Shared terms: analysis, basedpyright, basedpyright-langserver, cli, developer.
- [basedpyright](https://pkg.so/fr/npm/basedpyright/) - Same normalized package name in another local ecosystem.

## Combined YAML source

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


## Sources

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