< Back

Install-OctopusTool

Sat Jan 18, 2020 5:30 pm

NAME Install-OctopusTool



SYNOPSIS

This cmdlet downloads Octo.exe from Nuget to the "Octopus Tools Folder".To learn more about this path run Get-Help

Set-OctopusToolsFolder



By default this cmdlet will download "Octo.exe" from "https://packages.nuget.org/api/v2". If you want to override

this behavior, simply assign a different feed path/url to $env:NugetRepositoryURL





SYNTAX

Install-OctopusTool -Version <string> [-SetAsDefault <SwitchParameter>] [<CommonParameters>]



Install-OctopusTool [-Latest <SwitchParameter>] [-SetAsDefault <SwitchParameter>] [<CommonParameters>]





DESCRIPTION

This cmdlet downloads Octo.exe from Nuget to the "Octopus Tools Folder".To learn more about this path run Get-Help

Set-OctopusToolsFolder



By default this cmdlet will download "Octo.exe" from "https://packages.nuget.org/api/v2". If you want to override

this behavior, simply assign a different feed path/url to $env:NugetRepositoryURL





PARAMETERS

-Version <string>

Downloads a specific version oc Octo.Exe from nuget



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Latest <SwitchParameter>

Tells the cmdlet to download the latest version of Octo.exe available in Nuget



Required? false

Position? named

Default value True

Accept pipeline input? false

Accept wildcard characters? false



-SetAsDefault <SwitchParameter>

If set to true, the cmdlet will set the just downloaded version of Octo.exe as the default one, making it

instantly available using $env:Octoexe



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

None





---------- EXAMPLE 1 ----------



PS C:\\> Install-OctopusTool -Latest



Downloads the latest version of Octo.exe to the Octopus Tools Folder.

---------- EXAMPLE 2 ----------



PS C:\\> Install-OctopusTool -version 1.0.0



Downloads version 1.0.0 of Octo.exe to the Octopus Tools Folder.

---------- EXAMPLE 3 ----------



PS C:\\> Install-OctopusTool -version 1.0.0 -SetAsDefault



Downloads version 1.0.0 of Octo.exe to the Octopus Tools Folder and also sets it as the current defaul version



RELATED LINKS

WebSite: http://Octoposh.net

Github Project: https://github.com/Dalmirog/OctoPosh/

Wiki: http://octoposh.readthedocs.io

QA and Feature requests: https://gitter.im/Dalmirog/OctoPosh#initial