Updated installation instructions to include a note about installing node.

This commit is contained in:
Eric Traut 2019-05-16 15:31:37 -07:00
parent 183c0ef56d
commit 421207151a

View File

@ -32,7 +32,9 @@ For rich Python editing and debugging capabilities with Visual Studio Code, be s
## Installation
You can install the latest-published version of the Pyright VS Code extension directly from VS Code. Simply open the extensions panel and search for `pyright`.
The latest version of the command-line tool can be installed with npm. To install it globally:
The latest version of the command-line tool can be installed with npm, which is part of node. If you don't have a recent version of node on your system, install that first from [nodejs.org](nodejs.org).
To install pyright globally:
`npm install -g pyright`
On MacOS or Linux, sudo is required to install globally: