Science&Enigneering

Install Copilot with Neovim for Windows

##- 2024. 6. 24. 17:13
728x90

1. Install Neovim

https://neovim.io/

 

2. Install Copilot on Neovim

 2-1) Open powershell on Windows

 2-2) Run following command (https://github.com/github/copilot.vim)

git clone https://github.com/github/copilot.vim.git `
  $HOME/AppData/Local/nvim/pack/github/start/copilot.vim

 

3. Open Neovim with following command on Powershell

nvim

 

4. Invoke following on Neovim 

:Copilot setup

 4-1) If you receive an error message saying "GitHub Copilot 'Node.js not found in PATH'", install Node.js from https://nodejs.org

 4-2) Then, restart Neovim and run the following command again:

:Copilot setup

4-3) If Neovim redirects you to GitHub Copilot verification, the installation has succeeded.

300x250