
Security News
The Changelog Podcast: Practical Steps to Stay Safe on npm
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.
Invoke-Build is a build and test automation tool which invokes tasks defined in PowerShell v3.0+ scripts. It is similar to psake but arguably easier to use and more powerful. It is complete, bug free, well covered by tests.
Invoke-Build is a build and test automation tool which invokes tasks defined in PowerShell v3.0+ scripts. It is similar to psake but arguably easier to use and more powerful. It is complete, bug free, well covered by tests.
In addition to basic task processing the engine supports
Invoke-Build v3.0.1+ is cross-platform with PowerShell Core.
Invoke-Build can be effectively used in VSCode and ISE.
Several PowerShell Team projects use Invoke-Build.
The package includes the engine, helpers, and help:
about_InvokeBuild.help.txt - module help fileHelp.xml - content for Get-HelpExtra scripts, see PSGallery and the repository:
And some more tools, see the repository:
Invoke-Build is published as PSGallery module InvokeBuild. You can install it by one of these commands:
Install-Module InvokeBuild
To install the module with Chocolatey, run the following command:
choco install invoke-build
NOTE: The Chocolatey package is maintained by its owner.
Invoke-Build is also published as nuget.org/packages/Invoke-Build.
If you use scoop then invoke:
scoop install invoke-build
and you are done, scripts are downloaded and their directory is added to the path. You may need to start a new PowerShell session with the updated path.
Otherwise, download the package manually, rename it to zip, extract its tools and rename to InvokeBuild. Consider including this directory to the path for invoking scripts by names. Or copy to any PowerShell module directory in order to use it as module.
nuget.org/packages/ib
provides Invoke-Build as the dotnet tool ib which may be
installed as global or local.
To install the global tool:
dotnet tool install --global ib
To install the local tool:
dotnet new tool-manifest # once on setting up a repo with tools
dotnet tool install --local ib
See ib/README
for more details about ib commands.
If you use the module (known issue #2899)
or the script is not in the path, use the full path
help .../Invoke-Build.ps1 instead of
help Invoke-Build.
In order to get help for the engine, invoke:
help Invoke-Build -full
In order to get help for internal commands:
. Invoke-Build
help task -full
help exec -full
...
See also online Invoke-Build Help
dotnet new ib.Questions, suggestions, and reports are welcome at discussions and issues.
FAQs
Invoke-Build is a build and test automation tool which invokes tasks defined in PowerShell v3.0+ scripts. It is similar to psake but arguably easier to use and more powerful. It is complete, bug free, well covered by tests.
We found that invoke-build demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.

Security News
Ruby's creator Matz assumes control of RubyGems and Bundler repositories while former maintainers agree to step back and transfer all rights to end the dispute.