Quickstart

2026-01-06

1. Install via CLI

Run the following command to download and install the binary:

Terminal window
curl -sSf https://manul-lang.org/install.sh | sh

2. Update Your Path

Source the environment file to make the manul command immediately available in your current shell:

Terminal window
source ~/.manul/bin/env

3. Verify Installation

Confirm that Manul was installed correctly by checking the version:

Terminal window
manul --version

4. Quick Start

Create and deploy a simple project to ensure everything is working.

Initialize Project:

Terminal window
mkdir -p manul-quickstart/src
cd manul-quickstart
# Create an application and select it
manul create-app quickstart
manul set-app quickstart
# Create a sample file
cat << EOF > product.mnl
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 -X POST http://localhost:8080/api/quickstart/product --data-raw '{name: "Shoes"}'

Retrieve the created product (replace <app-id> with the output from the previous request):

Terminal window
curl http://localhost:8080/api/quickstart/product/<app-id>