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#
From the LSP Consoles of the Language Servers toolwindow, find the line that says "Pyright".
Right click the line below it, then click "Stop". The line should then say "Disabled". Right click that line again, then click "Restart".