> Source URL: /guides/cli.guide
# PathMX CLI Guide

The PathMX CLI is a command-line interface for building and previewing PathMX content.

Important: The PathMX CLI is currently in an early beta. It may have and is subject to breaking changes.

## Installation

On Mac or Linux, you can install the PathMX CLI with the following command:

```bash
curl -fsSL https://pathmx.dev/install.sh | bash
```

Windows users can use the following command:

```powershell
Invoke-Expression (Invoke-WebRequest -Uri https://pathmx.dev/install.ps1 -UseBasicParsing).Content
```

Verify the installation with the following command:

```bash
pmx --version
```

## PathMX Commands

### `pmx init`

Initialize a new PathMX project with `pathmx.json` configuration in the current directory.

```bash
pmx init
```

Creates a `pathmx.json` file and installs the toolchain dependencies into `.pathmx/`.

### `pmx build`


---

## Backlinks

The following sources link to this document:

- [CLI Guide](/guides/cs1-quickstart.guide.llm.md)
- [CLI Guide](/guides/agents.guide.llm.md)
