Setup Environment

To interact with the Ola network and compile Ola-lang code, you need to install the command-line tool Olatte.

Installing Olatte

If you’re running macOS, Linux, or another Unix-like OS. To download Olatte and install Olatte, run the following in your terminal, then follow the on-screen instructions.

curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/Sin7Y/ola-os/pre-alpha/ola-cli.sh | bash

Note for Linux users: Olatte requires a relatively new version of the operating system due to dependencies on certain libraries. For Ubuntu, the minimum version required is Ubuntu 22.04.

Installing Olatte(Windows)

If you’re running windows. You can click on the link to download the binary file for GitHub Windows Release.

After downloading, you need to configure the environment variables of Windows to ensure that it can be used in the command line.

Set up environment variables for Olatte

Setting environment variables for Olatte can make the Olatte command more concise and enhance its readability.

OLA_KEYSTORE The location of the keystore file for the Signer.

You can set the OLA_KEYSTORE environment variable using the following command:

export OLA_KEYSTORE=~/.ola-wallets/deployer/keystore.json

Last updated