Last active
July 17, 2025 01:21
-
-
Save mkohlhaas/c9a9667460c64c120a3bc6594a1c6583 to your computer and use it in GitHub Desktop.
Neovim Installation with asdf on Archlinux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
== Install asdf | |
https://asdf-vm.com/guide/getting-started.html#_1-install-asdf | |
With Package Manager | |
cd /tmp | |
git clone https://aur.archlinux.org/asdf-vm.git && cd asdf-vm && makepkg -si | |
asdf | |
== Install Neovim | |
asdf plugin add neovim | |
asdf list all neovim | |
asdf set -u neovim 0.10.4 | |
asdf list | |
asdf install neovim 0.10.4 | |
nvim | |
sudo pacman -S --needed ripgrep lazygit luarocks tree-sitter tree-sitter-cli lua51 nerd-fonts bottom gdu xclip fd npm | |
sudo npm install -g n | |
sudo pacman -R npm nodejs node-gyp nodejs-nopt semver | |
sudo mkdir -p /usr/local/n | |
sudo chown -R $(whoami) /usr/local/n | |
sudo mkdir -p /usr/local/bin /usr/local/lib /usr/local/include /usr/local/share | |
sudo chown -R $(whoami) /usr/local/bin /usr/local/lib /usr/local/include /usr/local/share /usr/local/share/man/ | |
n latest | |
nvim -> checkhealth | |
https://docs.astronvim.com/#-setup | |
Run :Lazy update (<Leader>pU) to apply any pending plugin updates | |
Run :AstroUpdate (<leader>pa) to update both Neovim plugins and Mason packages |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment