Website | Guide

Rakudo (Source) is the compiler for the Raku language

Raku documentation lists the following topics:

Installation

https://rakubrew.org is a platform independent environment manager (think pyenv for Raku)

Linux

To install Rakudo Star, run the following commands from your terminal:

mkdir ~/rakudo && cd $_
curl -LJO https://rakudo.org/latest/star/src
tar -xzf rakudo-star-*.tar.gz
mv rakudo-star-*/* .
rm -fr rakudo-star-*

./bin/rstar install

echo "export PATH=$(pwd)/bin/:$(pwd)/share/perl6/site/bin:$(pwd)/share/perl6/vendor/bin:$(pwd)/share/perl6/core/bin:\$PATH" >> ~/.bashrc
source ~/.bashrc

For other Unix options, go to https://rakudo.org/star/source

macOS

Four options are available:

Windows

For 64-bit architectures: Get the latest installer (file with .msi extension) from https://rakudo.org/latest/star/win

After installation, make sure C:\rakudo\bin is in the PATH

Docker

Get the official Docker image: docker pull rakudo-star

Then run a container with the image: docker run -it rakudo-star


Tags: language   object   functional  

Last modified 16 December 2024