-
Notifications
You must be signed in to change notification settings - Fork 0
Installing the script runner tool
Nikolay Pianikov edited this page Jul 22, 2024
·
1 revision
It can be installed as a command-line tool on Windows, Linux, or macOS. The dotnet tool requires .NET 6+ runtime.
After installing tool you can use this tool to run C# scripts from the command line. dotnet-csi is available as a NuGet package.
Before installing dotnet-csi as a local tool dot not forget to create .NET local tool manifest file if it is not exist:
dotnet new tool-manifest
Install the tool and add to the local tool manifest:
dotnet tool install dotnet-csi
Or install the tool for the current user:
dotnet tool install dotnet-csi -g