Automic VaultAutomic Vault

brew

Install basedpyright with Homebrew, Nix

Pyright fork with various improvements and built-in pylance features. Version 1.39.9 via Homebrew; verified 2026-06-28.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install basedpyright

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#basedpyright

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

overview

Package summary

Pyright fork with various improvements and built-in pylance features

Commands and aliases

  • basedpyright
  • basedpyright-langserver

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

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

security posture

No protected-tool coverage found yet

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.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 1 platform targets.
  • Installs with 1 runtime dependencies.

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
<project-root>/pyrightconfig.json<project-root>/pyproject.toml

executables

Installed executables

CommandKindExposureNote
basedpyrightcliglobal executable
basedpyright-langservercliglobal executable

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-07-08
manager version1.39.9
manager updated2026-06-28
local dataok
upstreamnot checked
latest detectednot detected

https://docs.basedpyright.com

install metadata

Package metadata

Package keybrew:basedpyright
Version1.39.9
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/basedpyright
Homepagehttps://docs.basedpyright.com
Repositoryhttps://github.com/DetachHead/basedpyright
Upstream docshttps://docs.basedpyright.com/latest
LicenseMIT
Source archivehttps://registry.npmjs.org/basedpyright/-/basedpyright-1.39.9.tgz
Last updated2026-06-28T03:19:45Z
Pulseupdated
Dependenciesnode
Bottleavailable (on all)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namebasedpyright
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

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%

basedpyright

nix profile install nixpkgs#basedpyright
  • normalized package name match
  • Matched by: Basedpyright
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ba/basedpyright/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
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment