IntelligenceX
Cmdlet

Install-IntelligenceXCopilotCli

Namespace IntelligenceX.PowerShell
Outputs
IntelligenceX.Copilot.CopilotCliInstallCommand

Installs GitHub Copilot CLI using a selected install strategy.

Examples

Example 1


Install-IntelligenceXCopilotCli
        

Install Copilot CLI using the auto method

Example 2


Install-IntelligenceXCopilotCli -WhatIf
        

Preview installation without executing changes

Example 3


Install-IntelligenceXCopilotCli -Prerelease -PassThru
        

Install prerelease and return command metadata

Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see about_CommonParameters.

Syntax

Install-IntelligenceXCopilotCli [-Method <Auto|Winget|Homebrew|Npm|Script>] [-PassThru] [-Prerelease] [<CommonParameters>]
#

Parameters

Method CopilotCliInstallMethod optionalposition: namedpipeline: falsevalues: 5
Install method to use (Auto, Winget, Brew, Apt, etc. depending on platform). Possible values: Auto, Winget, Homebrew, Npm, Script
Possible values: Auto, Winget, Homebrew, Npm, Script
PassThru SwitchParameter optionalposition: namedpipeline: false
Returns the resolved install command object after successful execution.
Prerelease SwitchParameter optionalposition: namedpipeline: false
Installs a prerelease build when available.

Outputs

IntelligenceX.Copilot.CopilotCliInstallCommand