Required Software
Before installing Neovim from Scratch, ensure you have the following requirements met:Neovim Version
Check your Neovim version:Git
Git is required for cloning the repository and for Packer to install plugins:Essential Dependencies
Nerd Fonts
The configuration requires Nerd Fonts v3.0.0 or higher. Using an older version will result in missing or incorrect glyphs in the UI.
- Download a Nerd Font from https://www.nerdfonts.com/
- Popular choices include:
- JetBrains Mono Nerd Font
- FiraCode Nerd Font
- Hack Nerd Font
- Install the font on your system
- Configure your terminal to use the Nerd Font
C Compiler
A C compiler is required for Treesitter to build language parsers:Node.js (Optional but Recommended)
Node.js enables additional LSP servers and Neovim features:Consider using a Node version manager like fnm or nvm for easier Node.js management.
Python 3 (Optional but Recommended)
Python support enables Python-based plugins and features:Upgrading Neovim
If you need to upgrade to Neovim v0.8.0 or higher:Using Package Managers
Building from Source
For the latest version, build from source:Updating Existing Source Build
If you previously built from source and need to update:Get Healthy
After installing Neovim and its dependencies, run Neovim’s built-in health check to identify any remaining issues:- Provider support (clipboard, Python, Node.js, etc.)
- Plugin health
- System integration
Common Health Issues and Fixes
Clipboard Support
The health check may report missing clipboard support. Fix this based on your system:lua/user/options.lua
Python Provider
Install Python support for Neovim:Node.js Provider
Install Node.js support for Neovim:Perl Provider (Optional)
Most users don’t need Perl support, but if required:Ruby Provider (Optional)
Most users don’t need Ruby support, but if required:Verifying Dependencies
Create a quick checklist to ensure you have everything:Platform-Specific Notes
Windows (WSL)
For Windows users, it’s recommended to use Neovim from Scratch within WSL (Windows Subsystem for Linux):- Install WSL 2
- Install a Linux distribution (Ubuntu recommended)
- Follow the Ubuntu installation instructions within WSL
- Use a terminal that supports Nerd Fonts (Windows Terminal, Alacritty, etc.)
macOS
On macOS:- Use Homebrew for easy dependency management
- Terminal.app supports Nerd Fonts but consider iTerm2 or Alacritty for better features
- Clipboard support (pbcopy/pbpaste) works out of the box
Linux
- If using Wayland, ensure you have
wl-clipboardinstead ofxsel/xclip - Some distributions package older Neovim versions; use a PPA or build from source for the latest
- Terminal emulator matters: Alacritty, Kitty, and WezTerm have excellent Neovim support
Ready to Install
Once you’ve completed these prerequisites and verified your dependencies:- Your system meets the minimum requirements
- You have Neovim v0.8.0 or higher installed
- Essential dependencies (Git, C compiler, Nerd Fonts) are in place
- Optional providers (Python, Node.js) are configured

