0.1.0-alpha.13

Install Dudu

The installer prepares the native toolchain, verifies an immutable tagged release, and installs the compiler, project driver, and language server under ~/.local.

Install

curl --proto '=https' --tlsv1.2 -sSf https://dudulang.org/install.sh | sh

The installer detects the host, asks before installing missing system packages, builds the current tagged release, verifies it, and updates PATH. For noninteractive setup, pass --install-deps.

Native dependency details

On Ubuntu and Debian, the installer offers to run:

sudo apt-get update
sudo apt-get install -y ca-certificates git cmake clang libclang-dev g++ build-essential pkg-config curl tar

First project

dudu --version
dudu init hello
cd hello
dudu run

The project driver provides check, build, run, test, fmt, and clean.

Package channels

Package-manager installations remain owned by their package manager. They do not use dudu update.

Debian / UbuntuLinux x86_64 package
curl -fLO https://github.com/dudu-language/dudu/releases/download/v0.1.0-alpha.13/dudu_0.1.0-alpha.13_amd64.deb
sudo apt install ./dudu_0.1.0-alpha.13_amd64.deb
HomebrewBuilds tagged source locally; Apple Silicon confirmation pending
brew install dudu-language/dudu/dudu
Arch LinuxAUR publication is pending upstream account access
Not published

Editor

The Dudu extension provides syntax highlighting, semantic tokens, diagnostics, navigation, hover information, references, formatting, and inlay hints through dudu-lsp.

Visual Studio Marketplace publication is pending manual approval for the first alpha.

Update and remove

These commands apply to toolchains installed through install.sh.

dudu update --check
dudu update
dudu update --rollback
dudu uninstall

Updates build and smoke-test the replacement before changing the active toolchain. Rollback restores the previous installed version.

Development checkout

Use a checkout when working on the compiler itself. Normal users should install the tagged release.

git clone https://github.com/dudu-language/dudu.git
cd dudu
./scripts/install-local.sh
export PATH="$HOME/.local/bin:$PATH"
dudu --version