How-to guides
How to install the Pyright executables#
Choose one that works for you:
$ pip install pyright
$ uv pip install pyright
$ npm install pyright
$ yarn add pyright
$ pnpm install pyright
$ bun install pyright
$ brew install pyright
See also Pyright's official installation guide.
How to restart the language server#
In the status bar, find the cell that has "Pyright" next to a pair of braces. Click it, then click the loop icon.
How to enable language server logging#
Add the following line to the Debug Log Settings panel (Help | Diagnostic Tools):
#com.intellij.platform.lsp