---
title: "CLI login command"
sidebarTitle: "login"
description: "Use these options when logging in to Trigger.dev using the CLI."
---

import CommonOptions from '/snippets/cli-options-common.mdx';

Run the command like this:

<CodeGroup>

```bash npm
npx trigger.dev@latest login
```

```bash pnpm
pnpm dlx trigger.dev@latest login
```

```bash yarn
yarn dlx trigger.dev@latest login
```

</CodeGroup>

## Options

### Common options

These options are available on most commands.

<CommonOptions />
