From e492ce6104841b87e46825ec125bb64a28eedb8e Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Mon, 4 Nov 2024 23:36:54 +0100 Subject: [PATCH] Documentation: Advertise `pipx` for program installation (PEP 668) --- README.rst | 10 +++------- docs/getting-started.rst | 12 +++--------- 2 files changed, 6 insertions(+), 16 deletions(-) diff --git a/README.rst b/README.rst index d7087b57..9d86abae 100644 --- a/README.rst +++ b/README.rst @@ -45,20 +45,16 @@ Installation Python Package -------------- -Crash is available as a `pip`_ package. +Crash is available as a package from PyPI. -To install, run:: +To install the most recent version, run:: - pip install crash + pipx install --upgrade crash Now, run it:: crash -To update, run:: - - pip install -U crash - Standalone ---------- diff --git a/docs/getting-started.rst b/docs/getting-started.rst index 057359f9..3a5c71f9 100644 --- a/docs/getting-started.rst +++ b/docs/getting-started.rst @@ -19,13 +19,13 @@ Installation Python package -------------- -Crash is available as a `pip`_ package. +Crash is available as a package from PyPI. -To install, run: +To install the most recent version, run: .. code-block:: console - sh$ pip install crash + sh$ pipx install --upgrade crash Now, run it: @@ -33,12 +33,6 @@ Now, run it: sh$ crash -To update, run: - -.. code-block:: console - - sh$ pip install -U crash - Standalone ----------