> ## Documentation Index
> Fetch the complete documentation index at: https://www.latitude.sh/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Latitude.sh CLI

`lsh` is Latitude.sh's command line interface. [Free and open source](https://github.com/latitudesh/cli).

`lsh` is the easiest way to deploy and manage your infrastructure without leaving the terminal. Use `lsh` to work with servers, settings and more.

<Note>
  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!
</Note>

### Try Latitude.sh on the command line

Install on MacOS, Linux or WSL:

Using Homebrew

```shell theme={null}
brew install latitudesh/tools/lsh
```

Using the installation script

```shell theme={null}
curl -fsSL https://cli.latitude.sh/install.sh | sh
```

After installation concludes, the `lsh` command should be available.

### Getting started

Using the `lsh` 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.

To log in, get an API key from the [dashboard](https://www.latitude.sh/dashboard) and run `lsh login API_KEY` in your terminal.
