Install OpenLegacy CLI (UNIX)

Prerequisites

Java OpenJDK versions 17 to 21 (required) -

You can use distributions such as:

Install Openlegacy CLI with a portable installer

To install the OpenLegacy CLI, follow these steps:

  1. Download the installation file.

  2. Unzip the installation file.

  3. In the Terminal, go to ol/bin.

  4. Type ./install.sh and press enter.

📘

If you do not have executable permission, run chmod -x install.sh before running install.sh.

  1. Run the ol command to confirm that the CLI is working properly.

Upgrade Openlegacy CLI with a portable installer

To upgrade the OpenLegacy CLI, follow these steps:

  1. Download the installation file.

  2. Unzip the installation file into the previous OpenLegacy CLI location and override the files.

Uninstall Openlegacy CLI with a portable installer

If you want to uninstall the OpenLegacy CLI, run:

  1. In the Terminal, go to ol/bin.

  2. Type ./uninstall.sh and press enter.

📘

If you do not have executable permission, run chmod -x uninstall.sh before running install.sh.