# Install basedpyright with npm

a fork of pyright with various type checking improvements, pylance features and more. Version 1.39.8 via npm; verified 2026-06-14.

## 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.8
- **Source summary:** a fork of pyright with various type checking improvements, pylance features and more.
- **Homepage:** <https://github.com/detachhead/basedpyright#readme>
- **Repository:** <https://github.com/detachhead/basedpyright>
- **Upstream docs:** <https://github.com/detachhead/basedpyright#readme>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/basedpyright/-/basedpyright-1.39.8.tgz>
- **Issue tracker:** <https://github.com/detachhead/basedpyright/issues>
- **Published:** 2026-06-14T09:04:06.208Z
- **Last updated:** 2026-06-14T09:04:06.208Z
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

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

## Build dependencies

- @rspack/cli
- @rspack/core
- @types/node
- esbuild-loader
- is-ci
- shx
- ts-loader
- typescript

## Install behavior

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

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.39.8
- Package-manager updated: 2026-06-14
- 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. Nucleus 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.8-fab7323c03bfa17db61cf63457beee9e484fde80, Latest: 1.39.8
- **Version Count:** 1,575
- **Maintainers:** detachhead
- **Author:** detachhead
- **Publisher:** detachhead
- **Engines:** Node: >=14.0.0
- **Optional Dependencies:** fsevents
- **Integrity:** sha512-GbAY3laHp4NKyfVahJsnHwYIyC3tWmn0XJvBquaUNpIlLIs20qPsERVPehYCsY699kfc6iAe9LrgLDnTm+9s0A==
- **Shasum:** 58bb6bef3e4dd736d6164494ae890c2382877c41
- **Unpacked Size:** 27,188,922
- **File Count:** 0
- **Created At:** 2024-03-17T03:12:32.725Z
- **Latest Published At:** 2026-06-14T09:04:06.208Z
- **Modified At:** 2026-06-14T10:14:25.952Z

## 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.410-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://www.automicvault.com/pkg/developer-build-tools/) - Matched curated package taxonomy and local package facts.
- [basedpyright](https://www.automicvault.com/pkg/brew/basedpyright/) - Same normalized package name appears in another local ecosystem. Shared terms: basedpyright, basedpyright-langserver, cli, developer, developer-tools.
- [pyright](https://www.automicvault.com/pkg/brew/pyright/) - Executable or command metadata overlaps with this package. Shared terms: analysis, cli, developer, developer-tools, langserver.
- [ast-grep](https://www.automicvault.com/pkg/npm/ast-grep/) - Local package facts share a topical domain. Shared terms: analysis, cli, developer, developer-tools, more.
- [basedpyright](https://www.automicvault.com/pkg/brew/basedpyright/) - Same normalized package name exists in another local package ecosystem.

## Sources

- Nucleus package database
- package-page enrichment
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
