OctopusDeploy / cli

| Public | Next Generation of the Octopus CLI :octopus:
Other
35 stars 10 forks source link

Windows Server 2019 install fails to set up path #347

Open aboy021 opened 6 months ago

aboy021 commented 6 months ago

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

Links