Skip to content

Instantly share code, notes, and snippets.

@cmj2002
cmj2002 / CopilotCLIForPowershell.md
Last active August 24, 2023 02:39
Call the GitHub Copilot CLI installed in WSL from PowerShell to provide AI-generated command suggestions for PowerShell

Copilot CLI for Powershell

This script enables calling the GitHub Copilot CLI installed in WSL from PowerShell to provide AI-generated command suggestions for PowerShell. It is modified based on @MattJeanes' script.

Bridge script

The following bash script is used to activate nvm and call github-copilot-cli:

#!/bin/bash