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

# Install the CLI

> Get the skillmd command line tool running in seconds.

The `skillmd` CLI installs skills into your editor's rules, scaffolds themed projects,
and keeps everything in sync — straight from your terminal.

## Run it instantly

No install required — use `npx`:

```bash theme={null}
npx @getskillmd/cli <command>
```

## Install globally

For a shorter `skillmd` command everywhere:

<CodeGroup>
  ```bash npm theme={null}
  npm install -g @getskillmd/cli
  ```

  ```bash pnpm theme={null}
  pnpm add -g @getskillmd/cli
  ```

  ```bash bun theme={null}
  bun add -g @getskillmd/cli
  ```
</CodeGroup>

Then verify:

```bash theme={null}
skillmd --version
```

## First run

```bash theme={null}
skillmd login      # authenticate in your browser
skillmd add <skill>  # install a skill into this project
```

<Note>
  `npx @getskillmd/cli` and a global `skillmd` install are interchangeable — every
  example in these docs works with either.
</Note>

<CardGroup cols={2}>
  <Card title="Authentication" icon="key" href="/docs/cli/authentication">
    Sign in and check your quota.
  </Card>

  <Card title="Commands" icon="terminal" href="/docs/cli/commands">
    The full command reference.
  </Card>
</CardGroup>
