From b9d14918f3836d777a5cbaedcf8f436d06f1a2ed Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Tue, 21 Jul 2015 14:48:34 +0300 Subject: [PATCH] A few improvements for installation doc --- docs/installation.rst | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/docs/installation.rst b/docs/installation.rst index 0dbb97e6..20e447de 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -55,11 +55,11 @@ Super-Quick (Mac / Linux) ~~~~~~~~~~~~~~~~~~~~~~~~~ To install or upgrade *PlatformIO* paste that at a *Terminal* prompt -(**you might need** to run ``sudo`` first): +(**you MIGHT need** to run ``sudo`` first, just for installation): .. code-block:: bash - python -c "$(curl -fsSL https://raw.githubusercontent.com/platformio/platformio/master/scripts/get-platformio.py)" + [sudo] python -c "$(curl -fsSL https://raw.githubusercontent.com/platformio/platformio/master/scripts/get-platformio.py)" Installer Script (Mac / Linux / Windows) @@ -67,12 +67,13 @@ Installer Script (Mac / Linux / Windows) To install or upgrade *PlatformIO*, download `get-platformio.py `_ -script. Then run the following (you might need to run ``sudo`` first): +script. Then run the following (**you MIGHT need** to run ``sudo`` first, +just for installation): .. code-block:: bash # change directory to folder where is located downloaded "get-platformio.py" - cd /path/to/dir/where/is/installer/script + cd /path/to/dir/where/is/located/get-platformio.py/script # run it python get-platformio.py @@ -83,7 +84,7 @@ On *Windows OS* it may look like: .. code-block:: bash # change directory to folder where is located downloaded "get-platformio.py" - cd C:\path\to\dir\where\is\installer\script + cd C:\path\to\dir\where\is\located\get-platformio.py\script # run it C:\Python27\python.exe get-platformio.py