Skip to content

Commit 9fd7936

Browse files
authored
docs: add the way to configuring Python dependency for Windows PowerShell (#2996)
1 parent f90ce12 commit 9fd7936

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@ export npm_config_python=/path/to/executable/python
8181
    Or on Windows:
8282
```console
8383
py --list-paths # To see the installed Python versions
84-
set npm_config_python=C:\path\to\python.exe
84+
set npm_config_python=C:\path\to\python.exe # CMD
85+
$Env:npm_config_python="C:\path\to\python.exe" # PowerShell
8586
```
8687

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

0 commit comments

Comments
 (0)