Before installing Rosavim, make sure you have these dependencies:
| Dependency | Version | How to install |
|---|---|---|
| Neovim | >= 0.12 | brew install neovim / neovim.io |
| Lua | >= 5.1 | brew install lua / sudo apt install lua5.1 |
| Git | >= 2.19 | brew install git / sudo apt install git |
| Node.js | >= 18 | brew install node / nodejs.org |
| Python | >= 3.10 | brew install python / sudo apt install python3 |
| Nerd Font | Any | nerdfonts.com |
| ripgrep | Any | brew install ripgrep / sudo apt install ripgrep |
These are optional but highly recommended for the full experience:
| Tool | What it does | How to install |
|---|---|---|
| lazygit | Git UI in the terminal | brew install lazygit / sudo apt install lazygit |
| yazi | Terminal file manager | brew install yazi / sudo apt install yazi |
| chafa | Terminal image display (dashboard) | brew install chafa / sudo apt install chafa |
Mason downloads LSP servers, formatters, linters, and debuggers — but it relies on system runtimes to install and run them. Without these, several packages will fail silently.
| Runtime | Needed for | Why |
|---|---|---|
| Node.js + npm | tsc, vtsls, vue-language-server, tailwindcss, emmet-ls, intelephense, json-lsp, sqlls, prettierd, eslint_d, biome, sql-formatter, blade-formatter, php-debug-adapter | Most language servers and JS tools are npm packages |
| Python 3 + pip | basedpyright, autopep8, mypy, djlint, debugpy | Python tooling installs via pip |
| Go | gopls, goimports, go-debug-adapter | Built from source via go install |
| Java (JDK 17+) | jdtls, google-java-format, java-debug-adapter | Java tooling requires a JDK |
| unzip / wget / curl | Pre-built binaries (lua-language-server, stylua, etc.) | Used to download and extract releases |
| C compiler | Treesitter parsers, some native modules | Needed to compile parsers on first run |
# Core (required by Rosavim itself)
brew install neovim git ripgrep
# Mason runtimes
brew install node python go openjdk
brew install wget unzip curl
# C compiler (if not already present)
xcode-select --installsudo apt update
sudo apt install -y neovim git ripgrep
sudo apt install -y nodejs npm python3 python3-pip golang-go default-jdk
sudo apt install -y unzip wget curl build-essentialIf your distro's Node.js is too old (< 18), install via nvm or nodesource.
sudo pacman -S neovim git ripgrep
sudo pacman -S nodejs npm python python-pip go jdk-openjdk
sudo pacman -S unzip wget curl base-develsudo dnf install -y neovim git ripgrep
sudo dnf install -y nodejs npm python3 python3-pip golang java-latest-openjdk
sudo dnf install -y unzip wget curl
sudo dnf groupinstall -y "Development Tools"If you already have a Neovim configuration, back it up first:
# Back up existing config
mv ~/.config/nvim ~/.config/nvim.bak
# Also back up local data (optional, for a clean start)
mv ~/.local/share/nvim ~/.local/share/nvim.bak
mv ~/.local/state/nvim ~/.local/state/nvim.bak
mv ~/.cache/nvim ~/.cache/nvim.bakgit clone https://github.com/pedrorcruzz/rosavim.git ~/.config/nvimnvimOn the first launch:
- Lazy.nvim will automatically bootstrap and install all plugins
- Mason will install the configured LSP servers, formatters, linters, and debug adapters
- Treesitter will download and compile language parsers
This process may take a couple of minutes on the first run. Let it finish before closing Neovim.
Inside Neovim, run:
:checkhealth
This will show you the status of all providers and dependencies. Fix any warnings or errors that appear.
You can also run Rosavim's own health check:
:checkhealth rosavim
To update Rosavim, pull the latest changes:
cd ~/.config/nvim && git pullThen open Neovim and sync plugins:
:Lazy sync
To completely remove Rosavim:
rm -rf ~/.config/nvim
rm -rf ~/.local/share/nvim
rm -rf ~/.local/state/nvim
rm -rf ~/.cache/nvimThen restore your backup if you have one:
mv ~/.config/nvim.bak ~/.config/nvimMake sure you have a working internet connection and Git is properly configured:
git --versionTry removing the plugin cache and reopening:
rm -rf ~/.local/share/nvim/lazy
nvimSome Mason packages require specific system dependencies. Check the Mason log:
:MasonLog
Common fixes:
- npm packages: Make sure
nodeandnpmare in your PATH - Python tools: Make sure
python3andpip3are available - Go tools: Make sure
gois installed andGOPATHis set
The configured LSP servers, formatters, linters, and debuggers are installed automatically on first launch via mason-tool-installer.nvim. If for some reason they did not install (closed Neovim too early, network failure, missing runtime), force a manual install:
:MasonToolsInstall
You can also open the Mason UI to inspect what is installed (✓), pending (➜), or missing (✗):
:Mason
Make sure you have a C compiler installed:
# macOS (should already have it)
xcode-select --install
# Linux
sudo apt install build-essentialInstall a Nerd Font and set it as your terminal font. Recommended: JetBrains Mono Nerd Font or FiraCode Nerd Font.