- macOS Instructions
- Install XCode Build Tools.
xcode-select --install
- Run the
make
command.
- Install XCode Build Tools.
- Linux Instructions
- Install
make
with your distro's package manager.sudo apt install make # For Debian/Ubuntu sude dnf install make # For Fedora sudo pacman -Sy make # For Arch Linux
- Run the
make
command.
- Install
- Windows Instructions
- Windows is very different from UNIX-based systems and requires extensive changes to the code. As of now, Windows is unsupported.
After building, the build binary is in the build
folder. For example, to open the source code of donut in donut
./build/donut src/donut.c
Ctrl-S
to SaveCtrl-Q
to Quit (Multiple times if there are unsaved changes)Ctrl-F
to find. Enter the search prompt and use arrow key to browse results.Ctrl-h
is an alternative to Backspace.Ctrl-l
is an alternative to ESC.Home
andEnd
to jump to beginning and end of the line.PgUp
andPgDown
to jump to beginning and end of the screen.