Install Helix Editor on Chromebook

using Homebrew

circuit4u
1 min readApr 14, 2024

One big assumption is that you already have Crostini Linux virtual machine running on the Chromebook.

As explained in this post, one way is to build from Rust source and install Helix Editor this way.

An alternative is to use Homebrew and simply

brew install helix

So the only step before that is to install Homebrew on a Chromebook.

One issue is that Crostini doesn’t have a root password, when Homebrew installer asks for it.

CI=1 /usr/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

According to the discussion, “CI=1” above the command line, solves that issue for Chromebook.

After Homebrew and helix are installed, “hx” in the terminal window will start Helix Editor.

--

--

circuit4u

memento of electronics and fun exploration for my future self