ALTool
ALTool is the command-line tool for compiling, packaging, and testing AL extensions for Business Central. This section answers questions about the AL Development Tools package, what ALTool can do, and how to use it in CI/CD pipelines.
- 2Learn pages
- 2videos
Path: Development > Get started > ALTool · tier official · system development · narrative reviewed (checked by Opus)
Overview
ALTool is a cross-platform command-line utility for working with AL extensions outside the editor. It is delivered through the AL Development Tools package, which is also available as a NuGet package and supports build automation and CI/CD scenarios.
The section has two pages. The package page explains what is delivered: utilities for compiling, packaging, and managing AL extensions, including manifest retrieval. The command-line reference describes the ALTool commands in more detail, covering compilation, packaging, workspace commands, test execution, static call graph analysis, and AI agent integration through MCP servers.
Start with the package page to see how to get the tools, then use the command-line reference to find the command you need. The reference lists 2026 release wave 2.
Key points
- ALTool compiles, packages, and tests AL extensions from the command line.
- It ships in the AL Development Tools package, which is cross-platform and available as a NuGet package.
- It supports CI/CD integration for automated builds.
- The package can retrieve app manifests.
- Workspace commands help manage AL workspaces.
- Test execution is available through ALTool.
- Static call graph analysis is supported.
- AI agent integration is available via MCP servers.
Learn pages
- AL Development Tools package: Streamline AL extension development with the AL Development Tools package. Access powerful command-line utilities for compiling, packaging, and automating workflows.
- ALTool Command-Line Reference for AL Development: Simplify AL extension development with ALTool. Validate code, package extensions, and integrate into CI/CD pipelines for seamless deployment.
Videos, posts and code changes
Linked by a Haiku matcher with a grounding quote from the item’s summary (link/topics.ts); machine-generated.
- #2304 Support framework-dependent (flat) AL Language extension layout (code change): “Get-ALTool probes nested bin/win32 or bin/linux paths first”
- #2327 Add doNotPerformUpgrade setting and enhance upgrade warning messages (code change): “AL-Go pipeline now supports skipping the upgrade phase”
- #2343 RunTests action (code change): “RunTests action that runs tests with AlTool (al runtests)”
- #2367 Enhance NuGet feed selection to support pre-release packages (code change): “AL-Go now supports pre-release NuGet packages by adding an
-allowPrereleasesuffix” - #2382 Fix dependency artifact pattern for branch names with glob-special characters (code change): “Fixed a bug where dependency artifact downloads failed silently”
- #2407 Enable AL-Go for GitHub on GitHub Enterprise Cloud with data residency (code change): “AL-Go for GitHub now supports GitHub Enterprise Cloud with dynamic host resolution”
- Dynamics 365 Business Central: using AL MCP Server from GitHub Copilot CLI. (community post): “AL MCP Server exposes AL development tools through the Model Context Protocol”
- Docs: What’s new in BC 28 for developers (community post): “MCP tooling grows, including an Admin Center API MCP server usable from VS Code”
- Microsoft Ships an AL MCP Server. So Why Did I Build My Own? (community post): “Microsoft’s AL MCP Server covers the writing half build, compile, publish, symbols”
- Exploring Rabbit Holes with AL Tool Graphs (video): “AL Tool Graphs; AL tools; call graphs; code analysis”
- Microsoft presents: Looking ahead: the future of AL-Go and BCContainerHelper (video): “AL-Go for GitHub; Workspace compilation; build hooks”
Source: Microsoft Learn (CC BY 4.0). Descriptions are Learn’s own.