Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Installation

To install Abra, download the repository from https://github.com/anandrav/abra. Then, run the script located at /scripts/install

git clone https://github.com/anandrav/abra
cd abra
./scripts/install

After, you should be able to run Abra from the command line

% abra --help
Usage: abra [OPTIONS] <FILE> [ARGS]...

Arguments:
  <FILE>     The main Abra file to compile and execute
  [ARGS]...  Arguments to pass to the Abra program

Options:
  -m, --modules <DIRECTORY>  Override the default module directory (~/.abra/modules).
  -h, --help                 Print help
  -V, --version              Print version

Requirements

Cargo

Cargo, the Rust package manager, is required to run the install script. The best way to install Cargo is by using rustup.

Node

If you're using Visual Studio Code and want to install the Abra extension, you'll want to install Node as well before running the install script.