Skip to main content

Installs the specified .NET tool on your machine.

# To create a manifest file for tracking installed .NET tools:
dotnet new tool-manifest

# To install the dotnet-ef (.NET Entity Framework) tool and track it in the manifest file:
dotnet tool install dotnet-ef

# To install dotnetsay as a global tool in the default location:
dotnet tool install -g dotnetsay

# To install dotnetsay as a local tool for the current directory:
dotnet tool install dotnetsay

# To list global tools installed in the default location:
dotnet tool list -g|--global

# To list local tools for the current directory:
dotnet tool list --local

# Update the specified .NET local tool
dotnet tool update <package_id> --local

# Update the specified .NET gobal tool
dotnet tool update <package_id> --global

# To update the dotnetsay global tool located in a specific Windows directory:
dotnet tool update dotnetsay --tool-path <c:\global-tools>

# To update the dotnetsay global tool located in a specific Linux/macOS directory:
dotnet tool update dotnetsay --tool-path ~/bin