Last active
August 20, 2025 22:24
-
-
Save dhensen/848b1bf838fa9574751bb2c3971c4d19 to your computer and use it in GitHub Desktop.
I use this to compile and install latest stable neovim on my raspberry pi zero w
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
#!/usr/bin/env bash | |
# Run this: curl -fsSL https://gist.githubusercontent.com/dhensen/848b1bf838fa9574751bb2c3971c4d19/raw/get-neovim-stable.sh | bash | |
git clone https://github.com/neovim/neovim --depth 1 -b stable | |
cd neovim | |
sudo apt-get install -y ninja-build gettext cmake curl build-essential git | |
make CMAKE_BUILD_TYPE=RelWithDebInfo | |
PKG_ARCH=$(uname -m) | |
cd build && sudo cpack -G DEB && sudo dpkg -i nvim-linux-$PKG_ARCH.deb | |
nvim --version | |
echo "done installing stable neovim" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you installed neovim using apt, don't forget to
sudo apt remove neovim neovim-runtime
before or after installation, order does not matter. Also make sure to have the time/patience, because compiling this on the pi zero W (the v1 single core) takes over 1.5 hours to complete.(you might also need to run
sudo apt autoremove
before the compiled nvim gets installed)