/heroku-cli

Provides the Heroku CLI environment as a Lando app

Provides the Heroku CLI environment as a Lando app

Heroku CLI is brought to you by your friends at Last Call Media.

Getting started

Logging in to Heroku

  • For browser-based login, use command: lando heroku login and open the URL given in your browser.
  • For intereactive login, use command: lando heroku:login or lando heroku login -i.

Running Heroku CLI commands

Method #1: just prefix the command with lando. Examples:

  • lando heroku help
  • lando heroku apps

Method #2: drop into a shell and from there run the Heroku CLI commands directly.

Run lando ssh
then: heroku help or heroku apps, etc.

Choosing a different Node.js version.

In the .lando.yml file, you can change node:18 to some other version number.

Better: override the setting using a .lando.local.yml file as described here.

services:
  appserver:
    # --- override node service version ---
    type: 'node:20'

In either case, run lando rebuild to effect the change.