Setup

Try NvChad in a Docker container

This will leave your current Neovim configuration untouched. Once you exit Neovim, the image is deleted.

  1. docker run -w /root -it --rm alpine:edge sh -uelic '
  2. apk add git nodejs neovim ripgrep alpine-sdk --update
  3. git clone https://github.com/NvChad/NvChad ~/.config/nvim
  4. nvim
  5. '

Pre-requisites

Semi-optional

  • ripgrep is required for grep searching with Telescope

Install

Linux / macos (UNIX)

  1. git clone https://github.com/NvChad/NvChad ~/.config/nvim --depth 1 ; nvim

Windows

  1. git clone https://github.com/NvChad/NvChad $HOME\AppData\Local\nvim --depth 1 ; nvim

(Note: windows users must have mingw installed & set on path))

Update

NvChad has an update mechanism built-in, which will pull any new updates to the git repository.

Activate it by running <leader> + uu.

  • Note: by NvChad default, <leader> is the <space> key

This will open a prompt in NeoVim warning you that it is about to do a git reset --hard and you will lose any customisations you’ve made to NvChad that are not in designated customisation folders.

Uninstall

Uninstalling is as simple as removing the nvim configuration directories.

  1. rm -rf ~/.config/nvim
  2. rm -rf ~/.local/share/nvim
  3. rm -rf ~/.cache/nvim