IntelligenceX
Command

Install-IntelligenceXCopilotCli

Module
IntelligenceX.PowerShell
Outputs
IntelligenceX.Copilot.CopilotCliInstallCommand

Installs GitHub Copilot CLI using a selected install strategy.

Syntax

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

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

Parameters

-Method CopilotCliInstallMethod optional
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 optional
Returns the resolved install command object after successful execution.
-Prerelease SwitchParameter optional
Installs a prerelease build when available.

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.