Return to site

Homebrew install

broken image

Heroku uses current releases of Node.js and doesn’t support older versions. It also requires you to use your system’s version of Node.js, which can be older than the version Heroku develops the CLI against. The npm installation method doesn’t auto-update. We strongly recommend using one of the other installation methods if possible. This method is also useful if you want fine-grained control over CLI updates, such as in a tested script. You must have node and npm installed already. ARM and BSD must use this installation method. Use this manual install method in environments where auto-updating isn’t ideal, or where Heroku doesn’t offer a prebuilt Node.js binary. The CLI is built with Node.js and installable via npm. Install the community-maintained heroku-cli 7.60.1-1. Use the standalone installation for an autoupdating version of the CLI. Install with Ubuntu / Debian apt-get $ curl | sh xz is much smaller, but gz is more compatible. These tarballs are available in gz or xz compression. You can also download one of these tarballs and extract it yourself. The script requires sudo and isn’t Windows compatible. To set up the CLI in /usr/local/lib/heroku and /usr/local/bin/heroku, run this script.

broken image

It contains its own Node.js binary and autoupdates. The standalone install is a simple tarball with a binary. Download the appropriate installer for your Windows installation:ģ2-bit installer Standalone Installation with a Tarball

broken image