The CLI is built with Node.js and is installable via npm. This package is community maintained and not by Heroku.
Use the snap or standalone installation for an autoupdating version of the CLI. This version does not autoupdate and must be updated manually via apt-get. xz is much smaller but gz is more compatible.
These are available in gz or xz compression. Otherwise, download one of the tarballs below and extract it yourself. To quickly setup into /usr/local/lib/heroku and /usr/local/bin/heroku, run this script (script requires sudo and not Windows compatible): $ curl | sh It contains its own node.js binary and will autoupdate like the above install methods. The standalone install is a simple tarball with a binary.
Other installation methods Standalone installation Snap is available on other Linux OS’s as well. Run the following from your terminal: $ sudo snap install -classic heroku