how to call sudo with changed path

This commit is contained in:
Nada Amin
2020-11-14 01:41:20 -05:00
committed by GitHub
parent bff3114598
commit e9f7bf4cb1

View File

@@ -49,9 +49,9 @@ This should let you run various ``conda`` and ``pip`` commands. If you run into
.. code-block:: bash .. code-block:: bash
sudo PATH=${PATH} <command> sudo env PATH=${PATH} <command>
By default, ``sudo`` does not respect any custom environments you have activated. The ``PATH=${PATH}`` By default, ``sudo`` does not respect any custom environments you have activated. The ``env PATH=${PATH}``
'fixes' that. 'fixes' that.
.. note:: .. note::