Linux
The Linux quickstart is to paste the below into a terminal and execute it.
bash
/bin/bash -c "$(curl -fsSL https://get.lando.dev/setup-lando.sh)"If you are looking to customize your install then advanced usage if for you.
Advanced
The installation script has various options but you will need to download the script and invoke it directly.
bash
# save the script
curl -fsSL https://get.lando.dev/setup-lando.sh -o setup-lando.sh
# make it executable
chmod +x ./setup-lando.sh
# get usage info
bash setup-lando.sh --help
# example advanced invocation
# note you will need to change these values to ones that make sense for you
# consult the usage and notes below for more into
bash setup-lando.sh \
--arch=x64 \
--dest=/Users/pirog/bin \
--fat \
--no-setup \
--os=linux \
--version=3.21.2 \
--debug \
--yesUsage
bash
[NONINTERACTIVE=1] [CI=1] setup-lando.sh \
[--arch <x64|arm64>] \
[--debug] \
[--dest <path>] \
[--fat ] \
[--no-setup] \
[--version <version>] \
[--yes]--arch <x64|arm64>: Specifies the architecture to install (x64 or arm64). Defaults to the system architecture.--debug: Enables debug output.--dest <path>: Specifies the destination path for installation. Defaults to/usr/local/bin.--fat: Download the fat v3 Lando binary that comes with official plugins built-in.--no-setup: Skips running Lando's built-in setup script.--version <version>: Specifies the version of Lando to install. Defaults tostable.--help: Displays the help message.--yes: Skips all interactive prompts and installs with defaults
Some notes on advanced usage:
- If you want to install without the
sudopassword requirement then set--destto a location to which your user haswritepermission. Note that you may still needsudofor downstream setup tasks eg if you need to install Docker Engine. - If you want to customize the behavior of
lando setupuse--no-setupand then manually invokelando setupafter install is complete. - If you run in a non-tty environment eg GitHub Actions then
--yeswill be assumed - If you use
--yesit is equivalent to settingNONINTERACTIVE=1