1
0
Fork 0
mirror of https://github.com/python-poetry/install.python-poetry.org.git synced 2024-11-27 00:10:54 -05:00

Compare commits

..

4 commits

Author SHA1 Message Date
Tatsunori Uchino
7ba3c8ff45
Merge 2243411693 into 290e92f756 2024-11-21 00:11:09 +01:00
Tatsunori Uchino
2243411693 Additional fix of previous commit
Co-authored-by: Arun Babu Neelicattu <arun.neelicattu@gmail.com>
2024-11-21 00:11:05 +01:00
Tatsunori Uchino
cc3ef283e7 Correcting verbs to the present tense
Co-authored-by: Arun Babu Neelicattu <arun.neelicattu@gmail.com>
2024-11-21 00:11:05 +01:00
Tatsunori Uchino
1fdd7fb233 Add PowerShell snippets for postinstall 2024-11-21 00:11:05 +01:00

View file

@ -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. Tries to appends the bin directory to PATH every when you run PowerShell (>=6 recommended): B. Try to append 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