You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A build automation tool written in PowerShell that leverages your existing
command-line knowledge.
What is psake?
psake is a build automation tool written in PowerShell. It avoids the
angle-bracket tax associated with executable XML by leveraging the PowerShell
syntax in your build scripts. psake has a syntax inspired by rake (aka make
in Ruby) and bake (aka make in Boo), but is easier to script because it
leverages your existing command-line knowledge.
Note: psake is pronounced "sake" – as in Japanese rice wine. It does
NOT rhyme with make, bake, or rake.
Installation
psake can be installed in several ways:
Option 1: PowerShell Gallery (Recommended)
Install-Module-Name psake -Scope CurrentUser
Option 2: Chocolatey
choco install psake
Option 3: Manual Installation
Download and extract the project from the
releases page
Unblock the zip file before extracting (right-click → Properties → Unblock)
Navigate to the examples directory and try out the sample build scripts:
cd .\examples
Invoke-psake# Runs the default taskInvoke-psake .\psakefile.ps1 Clean# Runs the Clean task
Getting Help
Get detailed help and examples:
Get-HelpInvoke-psake-Full
Visual Studio Integration
For Visual Studio 2017 and later, psake can automatically locate MSBuild.
If you encounter issues, you may need to install the
VSSetup PowerShell module: