Make a backup of your current nvim and shared folder in case you don't want to use this config afterwards
mv ~/.config/nvim ~/.config/nvim.bak
mv ~/.local/share/nvim ~/.local/share/nvim.bak
mv ~/.local/state/nvim ~/.local/state/nvim.bak
mv ~/.cache/nvim ~/.cache/nvim.bak
git clone --depth 1 https://github.com/cgyinthehouse/astronvim ~/.config/nvim
nvim