- Backup your current Neovim config:
mv ~/.config/nvim ~/.config/nvim.backup
- Clone this repo:
git clone https://github.com/argon-chat/nvim.git ~/.config/nvim - Install the required dependencies (see below).
- Open Neovim:
nvim
- Inside Neovim, run the following commands to finish setup:
:MasonInstallAll :Lazy sync
- Backup your current Neovim config:
- Move
%LOCALAPPDATA%\nvimto a backup location.
- Move
- Clone this repo:
- Use Git Bash or PowerShell:
git clone https://github.com/argon-chat/nvim.git "$env:LOCALAPPDATA\nvim"
- Use Git Bash or PowerShell:
- Install the required dependencies (see below).
- Open Neovim (
nvim.exe). - Inside Neovim, run the following commands to finish setup:
:MasonInstallAll :Lazy sync
rm -rf ~/.config/nvimRestore your backup if needed:
mv ~/.config/nvim.backup ~/.config/nvimDelete the folder:
%LOCALAPPDATA%\nvim
Restore your backup if needed.
This Neovim configuration requires the following external tools to be installed on your system:
- Git
- Python (for some plugins and LSPs)
- Node.js (for JavaScript/TypeScript LSPs and formatters)
- Go (for Go LSP and formatters)
- Ruby (for Ruby LSP and formatters)
- Rust (for Rust LSP and formatters)
- Zig (for Zig LSP and formatters)
- C/C++ compiler (for C/C++ LSP and formatters)
- prettier
- eslint_d
- gofmt
- goimports
- rufo
- clang_format
- csharpier
- rustfmt
- zigfmt
- stylua
- k9s (for Kubernetes management, if using kube-utils-nvim)
Most language servers and formatters can be installed using Mason.nvim from within Neovim. System dependencies (Node.js, Go, etc.) must be installed manually.
Below is a complete list of all required dependencies outside of Neovim, and example install commands for Debian/Ubuntu systems:
- Git
- Python 3 and pip (plus pynvim:
pip install --user pynvim) - Node.js and npm
- k9s (for kube-utils-nvim)
- Ruby (for Ruby LSP/formatter)
- Ruby gems: solargraph, rufo (install with
gem install solargraph rufo) - Go, Rust, Zig, C/C++ compiler (for language servers/formatters)
- libgit2 (for plugins or tools that require native git bindings)
- gpgme (for plugins or tools that require GPG support)
- npm global packages: prettier, eslint_d, yarn (optional)
sudo apt update
sudo apt install -y git python3 python3-pip nodejs npm ruby-full build-essential libgit2-dev libgpgme-dev
pip3 install --user pynvim
sudo npm install -g prettier eslint_d yarn
gem install solargraph rufo
# k9s install
if ! command -v k9s &> /dev/null; then
curl -sSLo k9s.tar.gz https://github.com/derailed/k9s/releases/latest/download/k9s_Linux_amd64.tar.gz
tar -xzf k9s.tar.gz k9s
sudo mv k9s /usr/local/bin/
rm k9s.tar.gz
fiYou must also install Go, Rust, Zig, and a C/C++ compiler using your OS package manager or their official installers.
- Lazyvim starter https://github.com/LazyVim/starter as nvchad's starter was inspired by Lazyvim's . It made a lot of things easier!
- Nvchad itself https://github.com/NvChad/NvChad, This repository is a packaged nvchad distribution and would not be possible if ncvhad did not exist.