Last active
June 29, 2025 09:16
-
-
Save Isfhan/b8b104c8095d8475eb377230300de9b0 to your computer and use it in GitHub Desktop.
Revisions
-
Isfhan revised this gist
Mar 14, 2024 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,7 +4,7 @@ 2. **Run Installation Command**: In the Powershell window, paste the following command and press Enter: ### Note: If you've installed Python through the Microsoft Store, replace `py` with `python` in the command below. ``` (Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | py - -
Isfhan created this gist
Mar 14, 2024 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,32 @@ # Step-By-Step guide to installing Poetry on Windows: 1. **Open Windows Powershell**: Navigate to your Start menu, type "Powershell", and select "Windows Powershell" from the search results. 2. **Run Installation Command**: In the Powershell window, paste the following command and press Enter: ### Note: If you've installed Python through the Microsoft Store, replace `py` with `python` in the command above. ``` (Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | py - ``` 3. **Wait for Installation to Complete**: The installation process may take some time depending on your internet connection speed. Let it run until completion. 4. **Copy Installation Path**: Once the installation is complete, it will provide you with a path. Copy this path as you'll need to add it to your user environment variables. 5. **Add Path to Environment Variables**: - Right-click on the Start button and select "System". - In the System window, click on "Advanced system settings" on the left sidebar. - In the System Properties window, click on the "Environment Variables..." button. - In the Environment Variables window, under "User variables for [YourUsername]", find the "Path" variable and select it. - Click on the "Edit..." button. - In the Edit Environment Variable window, click on "New" and paste the path you copied from the installation process. - Click "OK" on all open windows to save your changes. 6. **Close and Reopen Powershell**: Close the Powershell window and open a new one. 7. **Verify Installation**: In the new Powershell window, type `poetry --version` and press Enter. If Poetry has been successfully installed, you should see its version number printed in the terminal. You have now successfully installed Poetry on your Windows system. You can start using it for managing your Python projects.