Run Neovim on Your iPad with iSH!

TheCraftCoder
2 min readJul 8, 2024

--

iPad 10th gen with neovim 0.10.0

Do you have an iPad and a passion for Neovim? Buckle up, because we’re about to embark on a thrilling quest to bring Neovim to your iPad using the mighty iSH!

Meet iSH

iSH isn’t just any terminal emulator — it’s your personal Linux shell, crafted specifically for iOS & iPadOS. With the power of usermode x86 emulation and syscall translation, iSH transforms your iDevice into a local terminal wonderland. Imagine wielding the command line on your iPad, running Alpine Linux, and installing packages with the flick of the apkcommand. Pretty epic, right? That is not going to be the case.

The Quest for Neovim

The current iSH package repository grants you Neovim 0.4, but we’re not stopping there. No, our adventure calls for the latest and greatest Neovim! To achieve this, we must venture into the realm of source code and build Neovim ourselves.

Steps

  • Install iSH: Begin your journey by visiting ish.app and installing iSH on your iPad.
  • Prepare: Launch the iSH app and update your package list and install necessary dependencies:
apk update
apk add build-base cmake coreutils curl unzip gettext-tiny-dev
  • Clone the Repository: Retrieve the Neovim source code from its repository:
cd /tmp &&
git clone --depth 1 --branch v0.10.0 https://github.com/neovim/neovim.git
cd neovim
  • Build Neovim: Channel your inner coder and compile Neovim from the source. This step requires patience and determination.
rm -rf .deps && make deps -j4
make -j4 install CMAKE_BUILD_TYPE=Release
  • Done! Now you can start with porting your dotfiles an make them work in the iPad!

A New Frontier

Your iPad is now a Neovim powerhouse, ready to tackle any coding adventure you throw its way. The power of Neovim, combined with the portability of your iPad, unlocks a realm of limitless possibilities.

--

--