Install Neovim on my WSL

· agg's blog


I was trying to install Neovim on my windows. It's difficult to make everything work well on windows. So I decide to use WSL.

Errors occurred when I finished installed it and pull the configurations through chezmoi. So it's necessary to write it down in order to not waste time in the future when similar problem show again.

  1. There are several packages need to be installed first.
    • nodejs (directly use apt install nodejs will cause npm not found, should install it from nodesource)
    • luarocks
    • unzip
  2. error msg can be displayed by Noice Log
  3. Use Mason Install <specific package> to show the detailed error msg.
  4. Mason-lspconfig requires nightly Neovim