Skip to content
Edit this page

Installation

Back up any existing Neovim config before installing.

Requirements

  • Neovim 0.12+ (CodeArt refuses to load on older versions)
  • tree-sitter-cli ≥ 0.26.1 on PATH, to build the treesitter parsers (OS package manager, the release binary or cargo)
  • Git, a C compiler, make, ripgrep, fd, unzip
  • Node.js and Python 3 (with venv) for the language servers Mason installs with npm or pip, such as basedpyright for Python
  • A Nerd Font in the terminal (the installers add JetBrains Mono Nerd Font)

The installers below set all of this up. They are tested on every change to main and once a week (see Tested systems).

Linux and macOS

git clone https://github.com/artart222/CodeArt ~/.config/nvim
bash ~/.config/nvim/installer/linux-mac.sh

The script finds your package manager (apt, dnf, pacman, zypper, apk, emerge or Homebrew), installs what is missing and asks for your password through sudo (run it as root in a container). It takes a few minutes. Then continue with After install.

When your distribution's Neovim is older than 0.12, or its tree-sitter CLI older than 0.26.1, the script downloads the official release instead: Neovim to ~/.local/share/codeart/nvim, linked as ~/.local/bin/nvim, and the CLI to ~/.local/bin/tree-sitter (glibc Linux on x86_64 and arm64). Make sure ~/.local/bin is on your PATH; the script reminds you when it put something there:

echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc   # or ~/.zshrc

Set CODEART_SKIP_FONT=1 to skip the Nerd Font download (for example on a server you reach over SSH; the font belongs on the computer running your terminal).

Ubuntu and Debian

Ubuntu 24.04 ships Neovim 0.9 and Debian 13 ships 0.10, so the script installs the Neovim release in ~/.local/bin (above) and the tree-sitter CLI the same way. Debian and Ubuntu call fd fdfind; the script links it as ~/.local/bin/fd. It also installs python3-venv, which Mason needs for Python tools.

Fedora

Everything comes from dnf (Neovim 0.12, tree-sitter-cli, fd-find, ...).

Arch Linux

Everything comes from pacman.

Alpine

Everything comes from apk, including lua-language-server: Mason's builds of it need glibc, so on musl systems CodeArt uses a language server or tool that is already on PATH instead of installing Mason's (:CodeArtLanguages marks it "(system)"). Other Mason tools with glibc-only builds need the same: install them with apk.

openSUSE and Gentoo

The script supports zypper and emerge, but they are not tested in CI. If something is missing, :checkhealth codeart shows the install command for your system.

macOS

The script installs Homebrew if it is missing and installs everything with it. The C compiler comes from Apple's command line tools (xcode-select --install).

Windows

Open PowerShell as administrator:

git clone https://github.com/artart222/CodeArt $HOME\AppData\Local\nvim
powershell.exe -executionpolicy bypass -file $HOME\AppData\Local\nvim\installer\windows.ps1

The script installs Neovim, Git, Python, Node.js, MinGW (gcc), make, 7zip, ripgrep, fd, the tree-sitter CLI and JetBrains Mono Nerd Font, skipping what is already there. It uses winget, which comes with Windows 10 and 11 as "App Installer", and falls back to Chocolatey (installing it if needed) for anything winget cannot install or when winget is missing. Open a new terminal afterwards so the updated PATH is used.

To choose the package manager yourself, add -PackageManager choco (Chocolatey only, as before 2.9) or -PackageManager winget (winget only, no fallback); -DryRun prints what it would install without changing anything. The script ends with an error and lists what it could not install.

Using WSL instead? Follow the Linux steps inside your distribution; see Windows and WSL below.

Windows and WSL

CodeArt runs natively on Windows (the installer above) and inside WSL. Which one to pick:

  • WSL is the smoother choice when your projects live in Linux tooling (make, shell scripts, C/C++ with gcc, Nix, Docker). Run wsl --install in an administrator PowerShell, restart, open Ubuntu and follow Linux and macOS. Keep your projects inside the WSL file system (~/...), not under /mnt/c, where file access is much slower. Install win32yank on the Windows side (winget install equalsraf.win32yank, or scoop install win32yank) so Neovim's clipboard reaches Windows; :checkhealth codeart warns when it is missing.
  • Native Windows is the better choice for .NET, PowerShell and Windows-only tools. Every language pack's tools install through Mason on Windows too, except Nix (WSL only).

Either way:

  • Font: the installer installs JetBrains Mono Nerd Font on Windows. In Windows Terminal open Settings, pick your profile (PowerShell or Ubuntu), then Appearance and set Font face to JetBrainsMono Nerd Font. Fonts are a Windows setting, so WSL uses the same font; there is nothing to install inside WSL.
  • PowerShell: add "powershell" to languages in user/settings.lua for PowerShell Editor Services (completion, PSScriptAnalyzer diagnostics, formatting and debugging). It prefers PowerShell 7 (winget install Microsoft.PowerShell) and falls back to Windows PowerShell 5.1. Run templates work in both: CodeArt chains commands with ; and if ($?) where 5.1 has no && (see Running).
  • Remote: to edit a Linux server from Windows, see Remote and containers for what works on a Windows machine.

Install the requirements yourself

If you prefer not to run the installer, install the requirements with your package manager, for example:

System Command
Fedora sudo dnf install neovim tree-sitter-cli git gcc make ripgrep fd-find unzip nodejs npm python3 python3-pip
Arch sudo pacman -S neovim tree-sitter-cli git gcc make ripgrep fd unzip nodejs npm python python-pip
Alpine apk add neovim tree-sitter-cli git gcc musl-dev make ripgrep fd unzip nodejs npm python3 py3-pip lua-language-server
macOS brew install neovim tree-sitter-cli git ripgrep fd node python
Windows winget install Neovim.Neovim tree-sitter.tree-sitter-cli Git.Git BrechtSanders.WinLibs.POSIX.UCRT ezwinports.make BurntSushi.ripgrep.MSVC sharkdp.fd OpenJS.NodeJS.LTS Python.Python.3.13 7zip.7zip, or choco install neovim tree-sitter git mingw make ripgrep fd nodejs python 7zip (as administrator)
Ubuntu, Debian sudo apt install git gcc make ripgrep fd-find unzip nodejs npm python3 python3-venv, plus Neovim 0.12+ and tree-sitter CLI 0.26.1+ from their release pages

Tested systems

The Install workflow runs a fresh install like the one above, on every change to main and once a week, on Ubuntu 24.04, Debian stable, Fedora, Arch Linux and Alpine (containers), macOS and Windows: it clones CodeArt into the config folder, runs the installer, installs the plugins, installs the lua and python packs with :CodeArtLanguages install, checks that their language servers start, and fails when :checkhealth codeart reports an error or the install changed a tracked file. You can run the same steps in a container with scripts/ci/fresh_install.sh (see the comment at the top of .github/workflows/install.yml).

After install

  1. Open Neovim and wait while lazy.nvim installs the plugins (it installs the versions in lazy-lock.json)
  2. Restart Neovim
  3. Run :CodeArtSetup to pick your languages, theme and plugins (see Setup wizard), then restart once more; the tools for your languages install in the background
  4. Run :checkhealth codeart to see if anything is missing; it shows the install command for your system

If icons look wrong, set your terminal font to a Nerd Font (e.g. JetBrains Mono Nerd Font).

Try CodeArt without replacing your config

Neovim reads its config from ~/.config/$NVIM_APPNAME (and keeps plugins, state and cache under the same name), so you can run CodeArt next to your current setup:

git clone https://github.com/artart222/CodeArt ~/.config/codeart
NVIM_APPNAME=codeart nvim

On first start lazy.nvim installs the plugins; restart once it is done. The requirements above still apply; the installer scripts are not needed for this, but you have to install Neovim, tree-sitter-cli, ripgrep, fd and a Nerd Font yourself.

To make it permanent, add an alias such as alias codeart='NVIM_APPNAME=codeart nvim' to your shell config. On Windows (PowerShell), clone to $HOME\AppData\Local\codeart and run $env:NVIM_APPNAME = "codeart"; nvim.

Update

Run :CodeArtUpdate inside Neovim. It updates CodeArt, its plugins, the Mason tools and the treesitter parsers, not Neovim itself. See Update.

Uninstall

CodeArt has no uninstaller. Remove the config folder and the folders Neovim created for it:

# Linux and macOS (default install in ~/.config/nvim)
rm -rf ~/.config/nvim ~/.local/share/nvim ~/.local/state/nvim ~/.cache/nvim
# Windows
Remove-Item -Recurse -Force $HOME\AppData\Local\nvim, $HOME\AppData\Local\nvim-data

For an NVIM_APPNAME=codeart install, replace nvim with codeart in those paths. Back up the user/ folder first if you want to keep your settings, plugins and key maps. Tools the installer scripts added (Neovim, ripgrep, fd, fonts, ...) are left in place; remove them with your package manager if you no longer need them.