Description
Nake is a task runner for .NET, described as a hybrid of Shovel and Rake. You define tasks in plain C# code with a minimal DSL, and the scripts are compiled on top of the latest Roslyn release, so you can use recent C# language features in them. It is installed as a dotnet tool, either globally or locally, and the README recommends a local install. It requires the .NET 8.0 SDK, with 8.0.12 or later recommended, and supports C# 12 language features. From the command line you run Nake with optional options and task names. The options include --tasks to list tasks with their descriptions, --nakefile to choose a project file, --directory to set the working directory, --trace for full stack traces and --reset-cache to clear the compilation cache. Tasks take arguments in a syntax similar to C# method calls. Scripts can also be made executable with a polyglot shebang, so you can run them directly after making them executable. The README has a syntax cheatsheet and a reference for included utilities. The project is public on GitHub under yevhen.…
Highlights
- Tasks written in plain C#
- Built on the latest Roslyn compiler
- Installs as a dotnet tool
- Runs scripts directly with a shebang
- Lists tasks with --tasks
Ratings & Reviews
No ratings yet
Be the first to rate Nake.
People also visit
Nake FAQ
What is Nake?
A task runner for .NET, described as a mix of Shovel and Rake, where tasks are written in plain C#.
What do I need?
The .NET 8.0 SDK, with 8.0.12 or later recommended.
How do I install it?
As a dotnet tool, either globally or locally. The README recommends a local install.
How do I see the available tasks?
Run Nake with the -T or --tasks option, optionally with a pattern, to list tasks with their descriptions.
Can scripts run directly?
Yes. With a polyglot shebang and chmod +x, a Nake.csx script can be run directly with a task name.
What are the best Nake alternatives?
Popular alternatives to Nake include Netdaemon, TaskT.net and Sake. See all Nake alternatives







