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:

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

Windows users can use the following command:

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

Verify the installation with the following command:

pmx --version

PathMX Commands

pmx init

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

pmx init

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

pmx build