Installation

2026-01-06

1. Install via CLI

Run the following command to download and install the binary:

Terminal window
curl --proto '=https' --tlsv1.2 -sSf https://manul-lang.org/install.sh | sh

2. Configure Shell

Reload your shell configuration to update your path (ensure you use the config file matching your active shell, e.g., .zshrc or .bashrc):

Terminal window
source ~/.zshrc

3. Verify Installation

Confirm that Manul was installed correctly by checking the version:

Terminal window
manul --version

4. Quick Start

Create and deploy a basic “Hello World” project to ensure everything is working.

Initialize Project:

Terminal window
mkdir manul-test
cd manul-test
mkdir src
# Create a sample file
cat << EOF > test.manul
class Product(var name: string)
EOF
# Deploy
manul deploy

Test Endpoint: Send a request to the local instance to create a new product:

Terminal window
curl -H "X-App-ID: {app-id}" \
-X POST http://localhost:8080/api/product \
--data-raw '{name: "Shoes"}'