# Install basedpyright with npm

a fork of pyright with various type checking improvements, pylance features and more. Version 1.39.9 via npm; verified 2026-06-27. Also installable with nix: nix profile install nixpkgs#basedpyright.

## Install

```sh
sudo av install npm:basedpyright
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g basedpyright
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:basedpyright
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/basedpyright>
- **Version:** 1.39.9
- **Source summary:** a fork of pyright with various type checking improvements, pylance features and more.
- **Repository:** <https://github.com/detachhead/basedpyright>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/basedpyright/-/basedpyright-1.39.9.tgz>
- **Published:** 2026-06-27T02:18:35.039Z
- **Last updated:** 2026-06-27T02:18:35.039Z
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- basedpyright (cli)
- basedpyright-langserver (cli)
- pyright (cli)
- pyright-langserver (cli)

## Build dependencies

- @core-js/types
- @rspack/cli
- @rspack/core
- @types/is-ci
- @types/node
- copy-webpack-plugin
- esbuild-loader
- shx
- ts-loader
- typescript

## Install behavior

- Post-install hook: not defined
- Bottle: not available

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 1.39.9
- Package-manager updated: 2026-06-27
- Local data: ok
- Upstream repository: https://github.com/detachhead/basedpyright
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for basedpyright. Package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Canary: 1.39.9-ad2e6badf1339a51fea1c2f1a23514e1c7d1174d, Latest: 1.39.9
- **Version Count:** 1,595
- **Maintainers:** detachhead
- **Author:** detachhead
- **Publisher:** detachhead
- **Engines:** Node: >=14.0.0
- **Optional Dependencies:** fsevents
- **Integrity:** sha512-7ijtpTtV3E3r5Lvv8GV0HfOyRrtDdLOj+xA4q3vv1Mg03F8k/vIBXSVLOQ7X5oNI52kFqiMQehhr8RS0CSP59w==
- **Shasum:** 578a8fe258833242f5321174d8f00f590aa5fbbc
- **Unpacked Size:** 27,490,074
- **File Count:** 0
- **Created At:** 2024-03-17T03:12:32.725Z
- **Latest Published At:** 2026-06-27T02:18:35.039Z
- **Modified At:** 2026-07-27T09:07:39.524Z

## Other Package-Manager Records

- 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
- MacPorts - pyright: installed executable or alias match | MacPorts ports tree: devel/pyright/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Nix - pyright: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/py/pyright/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - pyright - 1.1.411-1: installed executable or alias match | Arch Linux sync databases: pyright from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Type checker for the Python language | https://microsoft.github.io/pyright


## Related links

- [Developer build packages](https://pkg.so/developer-build-tools/) - Matched curated package taxonomy and local package facts.
- [basedpyright](https://pkg.so/brew/basedpyright/) - Same normalized package name appears in another local ecosystem. Shared terms: analysis, basedpyright, basedpyright-langserver, cli, developer.
- [pyright](https://pkg.so/brew/pyright/) - Executable or command metadata overlaps with this package. Shared terms: analysis, cli, developer, developer-tools, langserver.
- [ast-grep](https://pkg.so/npm/ast-grep/) - Local package facts share a topical domain. Shared terms: analysis, cli, developer, developer-tools, more.
- [basedpyright](https://pkg.so/brew/basedpyright/) - Same normalized package name exists in another local package ecosystem.

## Sources

- pkg.so package database
- package-page enrichment
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
