From Source
To install from source you need to first make sure you've manually installed the below dependencies:
- the latest stable version of docker for your operating system, set to its factory defaults.
- the latest node 18
Once you've completed the above then do the following:
sh
# Clone the Lando source
git clone https://github.com/lando/cli.git cli
# Install its dependencies
cd cli && npm install
# ON WINDOWS:
# Find the current path with command prompt: cd or powershell: pwd
# Add C:\path\from\above\bin to PATH
# See: https://www.computerhope.com/issues/ch000549.htm
# Remember to relaunch your terminal so the PATH changes take effect
lando
# Or invoke directly
node "C:\path\from\above\bin\lando"
# ON POSIX:
# Set up a symlink
# NOTE: we use lando.dev as a convention but you can name it whatever
# This allows you to run stable lando and source lando side by side
sudo mkdir -p /usr/local/bin
sudo ln -s $(pwd)/bin/lando /usr/local/bin/lando.dev
# Run lando from source
lando.dev
You may be able to use lando shellenv
to help set up PATH
as well.