Skip to main content

Posts

Showing posts from May, 2024

How to Install or Upgrade neovim, the easy way

 The easiest way to get neovim on ubuntu or wsl ubuntu, is to simply run sudo apt install neovim , however, later on you will want to update it, and you will try to uninstall and run sudo apt update and then install neovim again. All of that to realize that the version remains the same. I found that the second easiest way of installing and upgrading neovim is to install it form ‘Download’. This will allow you to install the exact version of neovim that you want, and even better, to keep multiple versions of neovim at the same time. Beyond that you can code a script to automatically switch between versions. This is how I reinstalled neovim without loosing any configuration. I used this article as a reference: https://docs.rockylinux.org/books/nvchad/install_nvim/ . Backup your config files: I would recommend you to create a Github repository of your neovim configuration files, just in case. Check your current nvim bin file: The location might change depending on how you insta...