Cake 0.30.0 後開始支援 Global .NET CLI tool,可透過 dotnet tool 安裝。

dotnet tool install -g Cake.Tool

1.png

安裝完就可以直接透過 dotnet 命令運行 Cake。

dotnet cake

2.png