Skip to content

Commit

Permalink
docs: add the way to configuring Python dependency for Windows PowerS…
Browse files Browse the repository at this point in the history
…hell (#2996)
  • Loading branch information
iamSmallY committed Apr 3, 2024
1 parent f90ce12 commit 9fd7936
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Expand Up @@ -81,7 +81,8 @@ export npm_config_python=/path/to/executable/python
    Or on Windows:
```console
py --list-paths # To see the installed Python versions
set npm_config_python=C:\path\to\python.exe
set npm_config_python=C:\path\to\python.exe # CMD
$Env:npm_config_python="C:\path\to\python.exe" # PowerShell
```

3. If the `PYTHON` environment variable is set to the path of a Python executable,
Expand Down

0 comments on commit 9fd7936

Please sign in to comment.