Skip to content

Instantly share code, notes, and snippets.

@thecatfix
Created October 6, 2025 22:35
Show Gist options
  • Save thecatfix/fe0ddbc8ece2039fc119c0435cfddc77 to your computer and use it in GitHub Desktop.
Save thecatfix/fe0ddbc8ece2039fc119c0435cfddc77 to your computer and use it in GitHub Desktop.
Downloading and installing Neovim Nightly

The dipstick guide to downloading and installing Neovim Nightly

Are you a halfwit like me and have to spend alot of time figuring out wtf the difference is between arm64 and x86 when brew install isn't available?

Welcome to my world!!!

This is my copy paste session of conversation with ChatGPT. If you have any comments, please leave them. I won't read them.

Download Nightly

https://github.com/neovim/neovim/releases/nightly

Now if your a total half wit like me. You just click on the blue link and the download to your downloads folder without reading anything else.

Such as

    Download nvim-macos-arm64.tar.gz
    Run xattr -c ./nvim-macos-arm64.tar.gz (to avoid "unknown developer" warning)
    Extract: tar xzvf nvim-macos-arm64.tar.gz
    Run ./nvim-macos-arm64/bin/nvim

Then you use ChatGPT to generate this script.

rm -rf ~/.local/bin/nvim
mkdir -p ~/.local/apps ~/.local/bin
cd ~/Downloads
F=$(ls -1 nvim*arm64* 2>/dev/null | head -n1)
case "$F" in
  *.tar.gz) tar -xzf "$F" -C ~/.local/apps ;;
  *.zip)    unzip -q "$F" -d ~/.local/apps ;;
  *)        mv "$F" ~/.local/apps ;;
esac
D=$(ls -d ~/.local/apps/nvim*-arm64* ~/.local/apps/nvim-osx-arm64 2>/dev/null | head -n1)
ln -sf "$D/bin/nvim" ~/.local/bin/nvim
chmod +x "$D/bin/nvim"
grep -q 'export PATH="$HOME/.local/bin:$PATH"' ~/.zshrc || echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc
source ~/.zshrc
which nvim
nvim --version

It should work after that but if it doesn't then keeping searching. Hopefully u will find your way. I haven't but i still have a sht eating grin on my face b/c I know some VIM motions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment