Description
Invoke-Build is a build and test automation tool for PowerShell. You define tasks in PowerShell v3.0 or later scripts, and the engine invokes them. The README describes it as similar to psake but easier to use and more powerful. Beyond basic task processing, the engine supports incremental tasks that process inputs and outputs, persistent builds that can resume after an interruption, and parallel builds in separate workspaces that share stats. It can run batches of tests composed as tasks, and you can define new classes of tasks. The package includes the main Invoke-Build engine, Build-Checkpoint for persistent builds, Build-Parallel for parallel builds, Resolve-MSBuild for finding MSBuild, a task help viewer and help files. Extra scripts add argument completers, a task graph viewer based on Graphviz, a generator for VS Code tasks, and helpers that run a task from VS Code or the ISE. Version 3.0.1 and later works with PowerShell Core. The README says several PowerShell Team projects use it. The package can be installed as a module, as scripts or as a dotnet tool.…
Highlights
- Build and test tasks written in PowerShell
- Incremental tasks based on inputs and outputs
- Persistent builds that resume after interruption
- Parallel builds in separate workspaces
- Works with PowerShell Core, VS Code and the ISE
Ratings & Reviews
No ratings yet
Be the first to rate Invoke-Build.
People also visit
Buildtool
A powerful automation tool for quickly and easily generating builds with Unity
Invoke-Build FAQ
What is Invoke-Build?
It is a build and test automation tool that runs tasks defined in PowerShell scripts, similar to psake.
How do I install it?
The README lists three options: install as a module, install as scripts, or install as a dotnet tool. The package is also published on PSGallery.
Does it run on Linux and macOS?
The README says version 3.0.1 and later is cross-platform with PowerShell Core.
Does it work with editors?
Yes. The README says it can be used effectively in VS Code and the ISE, and extra scripts generate VS Code tasks and run tasks from either editor.
What are the best Invoke-Build alternatives?
Popular alternatives to Invoke-Build include PowerShell-collection, PowerShell and Buildtool. See all Invoke-Build alternatives




