Install the ML.NET Command-Line Interface (CLI) tool


dotnet tool install --global mlnet-win-x64


dotnet tool install --global mlnet-linux-x64

Install a specific release version

If you’re trying to install a pre-release version or a specific version of the tool, you can specify the OS, processor architecture, and framework using the following format:

dotnet tool install -g mlnet-<OS>-<ARCH> --framework <FRAMEWORK>
dotnet tool install -g mlnet-linux-x64 --framework net7.0

Update the CLI package

dotnet tool list --global
dotnet tool update --global mlnet-linux-x64