From e5acf1a847d33ec3ec120664c7abf418d901122e Mon Sep 17 00:00:00 2001 From: corinthian13 Date: Tue, 14 Mar 2023 10:36:59 +0000 Subject: [PATCH] Update getting-started.md (#1343) * Update getting-started.md Lines 12 - 15. More clarity on how to add PATH entry for Alire ecosystem client installed on a user's local Linux machine. PATH value was missing the required double quotes. * Update getting-started.md To offer users a choice of adding the Alire client environment to their PATH environment either just for their current terminal session or for future sessions also. * Update getting-started.md Put PATH entries into .profile rather than .bashrc since some users may not be using the bash shell, i.e. may be using csh, zsh, fsh, etc. --- doc/getting-started.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/getting-started.md b/doc/getting-started.md index 3d1dd091..f8d248a0 100644 --- a/doc/getting-started.md +++ b/doc/getting-started.md @@ -9,10 +9,12 @@ repository](https://github.com/alire-project/alire/releases). On Linux, `Alire` is simply provided in an archive. -Once the archive is extracted you have to add `alr` in the environment `PATH`: +Once the archive is extracted you have to add `alr` in the environment `PATH` . +This may be done for the duration of a terminal session by running the command below: ```bash -$ export PATH=/bin/:$PATH +$ export PATH="/bin/:$PATH" ``` +Those wanting to keep this path permanently in their `PATH` environment may do so by pasting the above command into the `.profile` file of their user's account. Alire provides GNAT toolchains hosted on x86-64 for Linux. If those toolchains do not work for you, or if you are on another host architecture like ARM, you have the option @@ -39,7 +41,7 @@ On macOS, `Alire` is simply provided in an archive. Once the archive is extracted you have to add `alr` in the environment `PATH`: ```bash -$ export PATH=/bin/:$PATH +$ export PATH="/bin/:$PATH" ``` If you try to run it on recent versions of macOS, you will get a popup saying -- 2.39.5