Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Installation

npm CLI

Install the native CLI package:

npm install -g @xaligo/xaligo
xaligo version

The package installs the xaligo command, runtime icon catalogs, and the PPTX exporter WebAssembly artifact used by the CLI.

Go Build

Build the CLI from source:

git clone https://github.com/xaligo/xaligo
cd xaligo
go mod tidy
make build
.bin/xaligo version

make build produces .bin/xaligo and builds the PPTX exporter WASM artifact.

TypeScript and WebAssembly

Install the package in environments that need the TypeScript/WASM API:

npm install @xaligo/xaligo

The package exposes API entry points for extension hosts and browser-like environments where spawning the native CLI is not available.

import { renderPptxPlan } from "@xaligo/xaligo";

const pptx = await renderPptxPlan(planJson, { title: "Architecture" });

Build only the PPTX exporter WASM artifact:

make build-wasm

Package layout:

PathPurpose
@xaligo/xaligoCLI binary plus TypeScript/WASM API exports
external/Internal TypeScript/PptxGenJS build workspace