Provides the Heroku CLI environment as a Lando app
Heroku CLI is brought to you by your friends at Last Call Media.
- Install Lando if you don't already have it: https://lando.dev/download/
- Clone the repository
- Run
lando start
- For browser-based login, use command:
lando heroku loginand open the URL given in your browser. - For intereactive login, use command:
lando heroku:loginorlando heroku login -i.- Enter the API key as the login password.
- Get your API key at https://dashboard.heroku.com/account
Method #1: just prefix the command with lando.
Examples:
lando heroku helplando 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.
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.