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

Windows

dotnet tool install --global mlnet-win-x64

Linux

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

References
https://learn.microsoft.com/en-us/dotnet/machine-learning/how-to-guides/install-ml-net-cli