mirror of
https://github.com/python-poetry/install.python-poetry.org.git
synced 2024-11-23 14:30:57 -05:00
Compare commits
3 commits
7ba3c8ff45
...
559cb11ff7
Author | SHA1 | Date | |
---|---|---|---|
|
559cb11ff7 | ||
|
2b71f2bd03 | ||
|
29ac4557b7 |
1 changed files with 1 additions and 1 deletions
|
@ -278,7 +278,7 @@ A. Append the bin directory to your user environment variable `PATH`:
|
||||||
[Environment]::SetEnvironmentVariable("Path", [Environment]::GetEnvironmentVariable("Path", "User") + ";{poetry_home_bin}", "User")
|
[Environment]::SetEnvironmentVariable("Path", [Environment]::GetEnvironmentVariable("Path", "User") + ";{poetry_home_bin}", "User")
|
||||||
```
|
```
|
||||||
|
|
||||||
B. Try to append the bin directory to PATH every when you run PowerShell (>=6 recommended):
|
B. Tries to appends the bin directory to PATH every when you run PowerShell (>=6 recommended):
|
||||||
|
|
||||||
```
|
```
|
||||||
echo 'if (-not (Get-Command poetry -ErrorAction Ignore)) {{ $env:Path += ";{poetry_home_bin}" }}' | Out-File -Append $PROFILE
|
echo 'if (-not (Get-Command poetry -ErrorAction Ignore)) {{ $env:Path += ";{poetry_home_bin}" }}' | Out-File -Append $PROFILE
|
||||||
|
|
Loading…
Reference in a new issue