Command
Install-IntelligenceXCopilotCli
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-IntelligenceXCopilotCliInstall Copilot CLI using the auto method
Example 2
Install-IntelligenceXCopilotCli -WhatIfPreview installation without executing changes
Example 3
Install-IntelligenceXCopilotCli -Prerelease -PassThruInstall prerelease and return command metadata
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.
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.