Skip to main content

CLI Overview


CLI Overview

The dx CLI offers a set of tools to work with DXOS components, interact with the network, and build applications.

Installation

npm i -g @dxos/cli

a global dx should now be available

dx --version

Creating applications

Use the following command to generate an app project named hello with everything you need to build a collaborative application with DXOS.

dx app create hello
cd hello
pnpm install
pnpm serve # local development server

Warning

Only pnpm is supported for now due to a temporary requirement to patch vite.

Learn more about the application templates available.