Created
December 26, 2025 00:16
-
-
Save os3albert/4d20ab1bb72428d7bedfc09e2415b4f7 to your computer and use it in GitHub Desktop.
Setup Neovim on Windows
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # installing neovim and lazy vim | |
| Install-WingetApp -Id "Neovim.Neovim" | |
| git clone https://github.com/LazyVim/starter "$env:LOCALAPPDATA\nvim" | |
| code --install-extension asvetliakov.vscode-neovim | |
| # installing treesitter and C compiler | |
| $userAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36" | |
| $downloads = "$HOME\Downloads" | |
| winget install --id=BrechtSanders.WinLibs.POSIX.UCRT -e | |
| $nvm = "$downloads\nvm-setup.exe" | |
| $nvmUrl = "https://github.com/coreybutler/nvm-windows/releases/download/1.2.2/nvm-setup.exe" | |
| Invoke-WebRequest -Uri "$nvmUrl" -OutFile "$downloads\$nvm" -UserAgent "$userAgent" | |
| Start-Process "$downloads\$nvm" | |
| nvm install 24 | |
| nvm use 24 | |
| npm install -g tree-sitter-cli | |
| <# | |
| _ _ | |
| _ __ ___ ___| |_ __ _ _ __| |_ _ _ ___ _ _ _ __ | |
| | '__/ _ \/ __| __/ _` | '__| __| | | | |/ _ \| | | | '__| | |
| | | | __/\__ \ || (_| | | | |_ | |_| | (_) | |_| | | | |
| |_| \___||___/\__\__,_|_| \__| \__, |\___/ \__,_|_| | |
| |___/ | |
| _ | |
| ___ ___ _ __ ___ _ __ _ _| |_ ___ _ __ | |
| / __/ _ \| '_ ` _ \| '_ \| | | | __/ _ \ '__| | |
| | (_| (_) | | | | | | |_) | |_| | || __/ | | |
| \___\___/|_| |_| |_| .__/ \__,_|\__\___|_| | |
| |_| | |
| #> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment