macOS
brew install basedpyrightlocal Homebrew formula metadata
brew
Pyright fork with various improvements and built-in pylance features. Version 1.39.9 via Homebrew; verified 2026-06-28.
install
brew install basedpyrightlocal Homebrew formula metadata
nix profile install nixpkgs#basedpyrightnixpkgs package indexes · pkgs/by-name/ba/basedpyright/package.nix · source: api.github.com
overview
Pyright fork with various improvements and built-in pylance features
history
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.
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.
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.
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.
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.
security posture
No matching local secret-handling manifest was found for basedpyright. Nucleus package metadata is still published here so future coverage has a stable package URL.
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.
<project-root>/pyrightconfig.json<project-root>/pyproject.tomlexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
basedpyright | cli | global executable | |
basedpyright-langserver | cli | global executable |
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:basedpyright |
|---|---|
| Version | 1.39.9 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/basedpyright |
| Homepage | https://docs.basedpyright.com |
| Repository | https://github.com/DetachHead/basedpyright |
| Upstream docs | https://docs.basedpyright.com/latest |
| License | MIT |
| Source archive | https://registry.npmjs.org/basedpyright/-/basedpyright-1.39.9.tgz |
| Last updated | 2026-06-28T03:19:45Z |
| Pulse | updated |
| Dependencies | node |
| Bottle | available (on all) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
basedpyright
nix profile install nixpkgs#basedpyrightsource 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.