Download Crabby 🦀📦
In this page, you can learn how to download Crabby from different operating systems and even know how to build crabby from scratch.
Build from source ⚙️
Step 1: Make sure to have git
and rust
installed
git --version
cargo --version
NOTE: To install Rust
, just run:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Step 2: Git clone the Crabby repository
git clone https://github.com/crabby-lang/crabby.git
Step 3: Build it
cargo build
Step 4: Test and Run it
cargo run ./examples/example.crab
Additional Notes:
Crabby is very new, so for general users, we do not recommend building Crabby from source as it is very broken for now.
Windows 🪟
For Windows, you can use scoop
or choco
to install the Crabby binaries:
scoop install crabby
choco install crabby
MacOS 🍎
For Mac users, you can simply use homebrew
to download crabby:
brew install crabby
Linux 🐧
For Linux users, it depends in the linux distribution you are using, but Crabby should support a few linux distros available:
Alpine Linux
apk add crabby
Arch (EndeavourOS, Manjaro)
Using AUR
yay -S crabby
Ubuntu / Debian
sudo apt install crabby
Fedora
sudo dnf install crabby
Void Linux
sudo xbps-install crabby
Docker 🐳
In Docker, you can pull and run it by:
docker pull kazookilovescoding/crabby
And then run it
docker run kazookilovescoding/crabby
Additional Notes
- An internet connection is required for initial download and potential updates
- Crabby works ONLY in the Rust nightly version
- This page might changed for the upcoming updates