diff --git a/doc/install.rst b/doc/install.rst index 2483e445b9e..cda39a5a41f 100644 --- a/doc/install.rst +++ b/doc/install.rst @@ -147,18 +147,13 @@ This installs the latest stable release from pip install pygmt -This upgrades the installed PyGMT to be the latest stable release:: - - pip install --upgrade pygmt - -You also can install the latest development version from +Alternatively, you can install the latest development version from `TestPyPI `__:: pip install --pre --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple pygmt -To upgrade the installed development version to be the latest one, just add ``--upgrade``:: - - pip install --upgrade --pre --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple pygmt +To upgrade the installed stable release or development version to be the latest +one, just add ``--upgrade`` to the corresponding command above. Any of the above methods (conda/pip) should allow you to use the PyGMT package from Python.