cli
cli copied to clipboard
Windows Server 2019 install fails to set up path
The bug
After installing on Windows Server 2019 via either msi or chocolatey the command octopus is not available in powershell.
This effect persists after starting a new powershell session.
Command to reproduce
choco install octopus-cli
octopus
Outcome
octopus : The term 'octopus' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the
path is correct and try again.
At line:1 char:1
+ octopus
+ ~~~~~~~
+ CategoryInfo : ObjectNotFound: (octopus:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Versions
cli: 2.1.0
Octopus Server: N/A