Step 01
Install the CLI
ALWasp runs as a .NET 8 global tool. Install it once, then call it from any AL repository.
dotnet tool install --global left-code.AlWasp
alwasp --helpGo from an existing Business Central AL repository to a validated, dependency-aware build with four focused commands.
dotnet tool install --global left-code.AlWaspalwasp initalwasp config validatealwasp build ciStep 01
ALWasp runs as a .NET 8 global tool. Install it once, then call it from any AL repository.
dotnet tool install --global left-code.AlWasp
alwasp --helpSteps 02—04
Discover projects, validate the generated configuration, restore symbols, and compile the default CI target.
alwasp init
alwasp config validate
alwasp restore
alwasp build ciChoose your route
alwasp init discovers direct child projects and writes a starter config. Move test projects from apps to tests, then model profiles and CI targets explicitly.
--include-tests-by-name when test folders consistently end in Test or Tests.Without alwasp.json, build directly from an app.json file or point the workspace commands at a folder. ALWasp falls back to focused alc compilation.
alwasp build ./app.jsonalwasp workspace build ./srcCLI anatomy
Start broad, then move into compatibility, tooling, versioning, and workspace operations as your pipeline grows.
alwasp
├── restore [appJsonPath]
├── build [targetOrPath]
├── init
├── config validate
├── version apply [targetOrProfile]
├── compare <baseline.app> <current.app>
├── validate compatibility [targetOrProfile]
├── tools update [--clean] [--check]
├── app set-package-id <appPath>
└── workspace
├── restore [workspacePath]
└── build [workspacePath]Go further
Tool cache: alwasp tools update manages the AL compiler tools used automatically by builds.
Package comparison: use alwasp compare for a fast public-symbol compatibility report.
Source validation: use alwasp validate compatibility to recompile source against historical packages with AppSourceCop.
Clear boundary
Publishing to Business Central, provisioning environments, running AL test suites, and writing Git commits or tags remain outside ALWasp.
See complete pipeline examplesNext guide