Skip to content

Building Arturo

RickBarretto edited this page May 26, 2024 · 3 revisions

💡 Arturo should compile practically everywhere: Windows, Linux, BSD, Mac OS - even Android. If you encounter an issue, or your OS is not supported, drop me a line!

If you want to have the latest cutting-edge version of Arturo, the easiest and most bulletproof way is to build it yourself, manually.

What you'll need first

  • Nim compiler
    if you don't have it installed, all it'll take is 2 simple commands:

    curl https://nim-lang.org/choosenim/init.sh -sSf | sh
    choosenim stable
    
  • Dependencies (non-MINI builds)

    • Linux
      • gtk+-3.0
      • webkit2gtk-4.0
      • libgmp-dev
      • libmpfr-dev
    • macOS
      • GMP (can be easily installed with brew update && brew install gmp)

Build & Install Arturo

What you need to do in order to build Arturo and install it is clone this repo and run the installation script.

All the process in a nutshell:

git clone https://github.com/arturo-lang/arturo.git
cd arturo
./build.nims --install

After this, Arturo will be installed in ~/.arturo/bin. Just make sure the aforementioned path is in your $PATH as per the installation script instructions.

💡 For mini builds - that is without GTK dependencies and a tiny bit less library functions - just install via ./build.nims --install --mode mini.

Clone this wiki locally