From ecd59c77cafc4920f68944c278ce6f987e2193ae Mon Sep 17 00:00:00 2001 From: Kartones Date: Sun, 18 Dec 2022 23:27:04 +0100 Subject: [PATCH] doc: add powershell uninstall instructions (command) --- docs/_index.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/_index.md b/docs/_index.md index ebe15c88b62..1fd9ad7c3ed 100644 --- a/docs/_index.md +++ b/docs/_index.md @@ -195,6 +195,16 @@ rm -rf "${POETRY_HOME:-~/.poetry}" Also remove ~/.poetry/bin from your `$PATH` in your shell configuration, if it is present. {{% /warning %}} +If you installed Poetry via Powershell: +```powershell +(Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | py - --uninstall +``` + +{{% note %}} +If you have installed Python through the Microsoft Store, replace `py` with `python` in the command +above. +{{% /note %}} + {{< /step >}} {{< /steps >}}