Documentation menu

Getting Started

Install MAKO

Before MAKO can run your files, install it once. You need Git and the .NET 8 SDK. Copy these three commands into a terminal, one line at a time.

New to coding?

Copy the examples exactly first. Run them. Then change one number or word and run them again. You are not expected to memorize the command lists.

1

Step 1: Download and install

The first command downloads MAKO. The second enters its folder. The third builds and installs it.

Try this code
git clone https://github.com/AnimatedGTVR/MAKO
cd MAKO
./build.sh install
2

Where did it go?

You do not need to memorize these folders. This list is here if you ever want to find MAKO's program files and examples.

Try this code
~/.local/bin/mko                    # launcher script
~/.local/share/mko/bin/             # mko.bin + native libs
~/.local/share/mko/examples/        # every example, runnable from anywhere
~/.local/share/mko/packages/        # cached GitHub packages
3

Run your game or an example

Use ./ when the file is in your current folder. Installed examples, such as pong.mko, work from any folder.

Try this code
mko pong.mko          # runs the installed example, no matter your cwd
mko ./my_game.mko     # your own script, relative path
mko /abs/path/x.mko   # absolute path always works