Skip to main content

Installation

Before you can set up a build project, you need to install NUKE's dedicated .NET global tool:

dotnet tool install Nuke.GlobalTool --global

From now on, you can use the global tool to:

note

If you're running on Linux-based systems, it's worth checking if the nuke global tool is available. This can be verified with where nuke. If the global tool is not found, you have to manually add $HOME/.dotnet/tools to your terminal configuration:

echo 'export PATH=$HOME/.dotnet/tools:$PATH' >> ~/.zshrc
info

While theoretically, you could use NUKE by only adding its main NuGet package, we highly recommend using the dedicated global tool to set up new builds. This ensures that your repository will run consistently in different environments and that your build implementation is always properly formatted.