We install the octo
CLI tool for dotnet Core 3.x using the method previously recommended on the Octopus website to use the native tool support to install from Nuget.
dotnet tool install Octopus.DotNet.Cli --global
dotnet octo --version
This is our preferred method, as it works exactly the same of on every platform, and has the fewest prerequisite dependencies. We install the octo
tool for every build, so we don’t want the overhead of installing and initializing or updating other dependencies (like Linux repos or Chocolatey), or having to have different build scripts for difference platforms or Linux variants. So dotnet tool
is ideal, minimal, and identical on all platforms. For our purposes, it is superior to the other options.
We noticed the dotnet tool
option has at some point been removed from the install options on the website, does that mean the Nuget repository and the dotnet tool
framework is no long supported? Or can we safely still use it and expect to get octo
updates over time?