Installation
Prerequisites
Crystal Language
brew install crystalcurl -fsSL https://packagecloud.io/84codes/crystal/gpgkey | sudo gpg --dearmor -o /usr/share/keyrings/84codes-crystal.gpg
echo "deb [signed-by=/usr/share/keyrings/84codes-crystal.gpg] https://packagecloud.io/84codes/crystal/ubuntu/ $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/84codes-crystal.list
sudo apt update
sudo apt install crystalsudo pacman -S crystalgit clone https://github.com/crystal-lang/crystal.git
cd crystal
make clean crystalDatabase (Optional)
Installation Methods
Method 1: From Source (Recommended)
Method 2: Using Make (Alternative)
Method 3: Symlink Installation (Development)
Method 4: Development Installation
Post-Installation Setup
1. Verify Installation
2. Configure Global Settings (Optional)
3. Set Up Database
Troubleshooting
Common Issues
1. "azu: command not found"
2. Permission Denied During Installation
3. Crystal Not Found
4. Compilation Errors
5. Database Connection Issues
Getting Help
Available Makefile Targets
Target
Description
Examples
Updating Azu CLI
Uninstalling
If installed with make install
make installIf installed with make link
make linkComplete cleanup
Last updated