35.7 Distributing CLI Tools with go install
Right, so you’ve built this magnificent CLI tool. It slices, it dices, it automates your most tedious tasks. But it’s sitting there on your machine like a fancy sports car in a private garage. What good is that? We need to get it into the hands of users, or at the very least, onto your other machines without a bunch of copy-paste nonsense. This is where go install shines. It’s arguably the single best feature of the Go toolchain for CLI developers. Forget tarballs, .deb files, or Homebrew taps for a moment (we’ll get to those later). For pure, unadulterated simplicity, go install is your best friend.