v0.1.0-alpha.1 exists, use the checkout installation below.Prerequisites
Ubuntu and Debian
sudo apt install git cmake clang libclang-dev g++ build-essential pkg-configmacOS Apple Silicon
xcode-select --install
brew install cmake llvm pkg-configInstall from a checkout
git clone https://github.com/dudu-language/dudu.git
cd dudu
./scripts/install-local.sh
export PATH="$HOME/.local/bin:$PATH"
dudu --versionThis installs dudu, duc, and dudu-lsp into ~/.local. Pass --prefix to install elsewhere.
Tagged installer
After the first tag is published, the release installer builds the immutable source release locally and records installation ownership.
curl --proto '=https' --tlsv1.2 -sSf \
https://dudulang.org/install.sh | sh -s -- --version 0.1.0-alpha.1First project
dudu init hello
cd hello
dudu runUseful commands: dudu check, dudu build, dudu run, dudu test, dudu fmt, and dudu clean.
Update and uninstall
dudu update --check
dudu update
dudu update --rollback
dudu uninstallThese commands apply only to installer-owned toolchains. Homebrew, AUR, and Debian packages remain owned by their package managers.
Editor
The pre-release VS Code extension will be available through the Visual Studio Marketplace, Open VSX, and the release VSIX. It runs dudu-lsp from the active toolchain.