lsh is Latitude.sh’s command line interface. Free and open source.
lsh is the easiest way to deploy and manage your infrastructure without leaving the terminal. Use lsh to work with servers, settings and more.
The CLI is open source and contributions are welcome. Go to the Github repo,
share what you’d like to see, or open a PR with your suggestions!
Try Latitude.sh on the command line
Install on MacOS, Linux or WSL: Using Homebrewlsh command should be available.
Getting started
Usinglsh is as easy as using the API or dashboard. The response is returned in a table format, but JSON is also available by passing the --json argument.
Authentication
The CLI supports two authentication methods: Browser-assisted login (recommended) Runlsh login without arguments. The CLI opens your browser to authorize the session:
- A verification code appears in your terminal
- Your browser opens to the authorization page
- Confirm the code matches, select a team, and click Authorize
- Return to your terminal—you’re logged in