Cmdlet
Install-IntelligenceXCopilotCli
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
- 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
- Returns the resolved install command object after successful execution.
- Prerelease SwitchParameter
- Installs a prerelease build when available.
Outputs
IntelligenceX.Copilot.CopilotCliInstallCommand