How to install a drupal 11 site using Lando

#  Create a directory and initialize a drupal11 recipe
mkdir drupal11 \
 && cd drupal11 \
 && lando init \
   --source cwd \
   --recipe drupal11 \
   --webroot web \
   --name drupal11

# Start the Lando environment
lando start

# Create latest drupal11 project via composer
lando composer create-project drupal/recommended-project:11.x tmp && cp -r tmp/. . && rm -rf tmp

Here instead of 11.x replace whichever version you prefer

# Install a site local drush
lando composer require drush/drush

# Install drupal
lando drush site:install --db-url=mysql://drupal11:drupal11@database/drupal11 -y

# List information about this app
lando info