Install C++ compiler
A C++ compiler is required to compile swirl programs. Because we convert our swirl programs to c++ programs and that needs to be compiled down into machine code.
For Swirl a C++ 20 compiler is required.
Linux
C++ compilers come preinstalled on most of the linux distros. But if its not follow the tutorial.
Ubuntu/Debian
sudo apt install g++
Fedora
sudo dnf install gcc
Arch Linux
sudo pacman -S gcc
After installing the C++ compiler, you can verify the installation by checking the version number:
g++ --version
Windows
🚧Work in progress
This section is work in progress. Come back later.
We recommend GCC, Clang for Linux and macOS, and tdm-gcc, Mingw-W64 for Windows.