From: James Procter Date: Mon, 23 Jan 2023 20:17:42 +0000 (+0000) Subject: JAL-4104 JAL-4102 update help docs with script to add jalview command line tool to... X-Git-Tag: Release_2_11_2_6 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=d5bd34eb49f43735e240058f8875ab0bfcae4441;p=jalview.git JAL-4104 JAL-4102 update help docs with script to add jalview command line tool to osx path --- diff --git a/help/help/html/features/commandline.html b/help/help/html/features/commandline.html index 2ffe0bc..381478f 100644 --- a/help/help/html/features/commandline.html +++ b/help/help/html/features/commandline.html @@ -109,22 +109,29 @@
  • In macOS (jalview)

    -

    - We don't currently provide a macOS installer program, so you will need to add the command to you path manually. The script you should use to launch Jalview is linked to as -

    /Applications/Jalview.app/Contents/MacOS/jalview
    - so you can run that command with its full path, or make your own symbolic link to there, or add that folder to your $PATH. -

    -

    - If you cannot see the - jalview - command in the MacOS directory, then you probably have an older - Jalview installation. In that case, you should make a symbolic - link directly to the launch script with the command -

    ln -s /Applications/Jalview.app/Content/Resources/app/bin/jalview.sh jalview
    - If this doens't work, check your installation is running - Jalview 2.11.2.0 or later. -

    -
  • +

    We don't currently provide a macOS installer program, so you + will need to add the command to you path manually. The script you + should use to launch Jalview is linked to as +

    /Applications/Jalview.app/Contents/MacOS/jalview
    so you + can run that command with its full path, or make your own symbolic + link to there, or add that folder to your $PATH.
    echo /Applications/Jalview.app/Contents/Resources/app/bin | sudo tee -a /etc/paths.d/Jalview
    + This adds the directory + "/Applications/Jalview.app/Contents/Resources/app/bin/" + to a "Jalview" file in the /etc/paths.d/ directory. The + lines from all the files in this directory are added the $PATH + variable for all shells and users. +

    +

    + If you cannot see the + jalview + command in the MacOS directory, then you probably have an older + Jalview installation. In that case, you should make a symbolic link + directly to the launch script with the command +

    ln -s /Applications/Jalview.app/Content/Resources/app/bin/jalview.sh jalview
    + If this doens't work, check your installation is running + Jalview 2.11.2.0 or later. +

    +