Inspired by:
- Neovim for Newbs course;
- Setup Neovim in 2024: The Ultimate Guide video guide and post;
- How to install and set up Neovim on Windows blog post;
- How to Set up Neovim for Windows and Linux with Lua and Packer blog post.
Install Chocolatey (original instruction). Ensure that you are using an administrative shell.
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))Ensure that directory with apps installed via choco in your PATH env var exists: C:\ProgramData\chocolatey\bin.
Install git from installer or command:
choco install gitGet Nerd Font for properly display glyphs. Configure your terminal to use the new font. I chose Cascadia Mono for Terminal and Hack Nerd Font Mono for Windows PowerShell.
OPTIONAL. Install another shell if you want to try it:
choco install powershell-coreInstall Neovim. Use instruction or command:
choco install neovim --preInstall GCC (TDM, MinGW, Cygwin) or Zig. This is required for some Neovim plugins.
Install npm. This is also required for some Neovim plugins.
And install some usefull utils for Neovim plugins:
choco install fd
choco install ripgrep
choco install lazygitCreate directory:
mkdir $Env:LocalAppData\nvimClone this repo:
git clone https://github.com/SpaceHead1C/nvim-win.git $Env:LocalAppData\nvim\Run your Neovim and wait until Lazy do its job:
nvimEnjoy!