How to run ABS code

Home of the ABS programming language: the joy of shell scripting.

How to run ABS code

In order to run programs written in abs, you can simply download the latest release of ABS from Github, and dump the ABS executable in your PATH. Windows, OSX and a few Linux flavors are supported.

We also provide a 1-command installer that should work across platforms:

sh <(curl

and will download the abs executable in your current directory – again, we recommend to move it to your $PATH.

Afterwards, you can run ABS scripts with:

$ abs path/to/scripts.abs

Scripts do not have to have a specific extension, although it’s recommended to use .abs as a convention.

A bit lost right now? We’d suggest to clone ABS’ main repository as you can already start testing some code with the scripts in the examples directory.


If you want to get a more live feeling of ABS, you can also simply run the interpreter; without any argument. It will launch ABS’ REPL, and you will be able to test code on the fly:

$ abs
Hello there, welcome to the ABS programming language!
Type 'quit' when you're done, 'help' if you get lost!
⧐  ip = $(curl
⧐  ip.ok
⧐  ip()
ERROR: not a function: STRING
⧐  ip

Why is abs interpreted?

ABS’ goal is to be a portable, pragmatic, coincise, simple language: great performance comes second.

With this in mind, we made a deliberate choice to avoid compiling ABS code, as it would require additional complexity in the codebase, with very little benefits. Tell us, when was the last time you were interested in how many milliseconds it took to run a Bash script?


That’s about it for this section!

You can now head over to read about ABS’s syntax, starting with assignments!