Installation
Install Hm with Homebrew or a download for macOS, Linux and Windows, or build it from source.
macOS#
With Homebrew:
brew install --cask usehm/tap/hmThis installs Hm.app and the hm command. Or download the DMG for your Mac from the latest release: arm64 for Apple silicon, amd64 for Intel. Both are signed and notarized.
Linux#
Download hm-linux-<version>-amd64.tar.xz or -arm64.tar.xz from the latest release and unpack it. Pasting images into the agent's message box needs wl-paste (Wayland) or xclip (X11).
Windows#
Download hm-windows-<version>-amd64.zip from the latest release and unzip it. It runs on Windows on ARM too, emulated. The build isn't code-signed yet, so SmartScreen may warn on first run: choose More info → Run anyway.
Updates#
Hm checks for updates and installs them from inside the app, checking each download's signature first. Homebrew installs update with brew upgrade --cask hm. To get prereleases too, set:
updates:
channel: prerelease # stable | prerelease | offBuild from source#
You need Go (see go.mod for the version) and git.
git clone https://github.com/usehm/hm.git
cd hm
make run # run from source in the current folder
make test # run the testsTo package it, install the yoga CLI first:
make install_deps
make install # macOS: build Hm.app, copy it to /Applications and install `hm`
make build_linux # tar.xz in dist/linux
make build_windows # amd64 build in dist/windowsA local build reports its version as dev, so it never offers to update itself.
Open a folder#
hm . # open the current folder
hm ~/src/project # or any otherNext: configure the editor and add a provider.
Edit this page on GitHub