# Installation

### Prerequisites

Before installing Latchkey, make sure you have:

* Curl
* Node
* npm

{% hint style="info" %}
If you need to install Node.js, download it from nodejs.org or use a version manager like nvm.
{% endhint %}

### Installation

Install globally via npm:

```bash
npm install -g latchkey
```

### Quick check

1. Browser setup: If you plan to use browser-based authentication (like run `latchkey auth browser`), then run:

```bash
latchkey ensure-browser
```

This will:

* Search for Chrome/Chromium/Edge on your system
* Configure Latchkey to use the found browser
* Download Chromium via Playwright if no compatible browser is found

2. Verify the installation by running:

```bash
latchkey --version
```

You should see a version number (e.g. 1.0.0).

***

Access Latchkey here: <https://github.com/imbue-ai/latchkey>
