Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 994 Bytes

modus-cli.mdx

File metadata and controls

49 lines (32 loc) · 994 Bytes
title description
Modus CLI
Comprehensive reference for the Modus CLI commands and usage

The Modus CLI is a command-line tool for interacting with your Modus app and running it locally.

Install

Install Modus CLI via a cURL command or npm.

curl install.hypermode.com/modus.sh -sSfL | bash
npm install -g @hypermode/modus-cli

Commands

new

Initialize a new Modus app. The Modus CLI prompts you to enter the app name and language of choice.

dev

Run your Modus app locally. The Modus CLI starts a local server and provides a URL to access the app.

When using [Hyp CLI](/hyp-cli) alongside the Modus CLI, users get access to [Hypermode-hosted models](/hosted-models) for local development.

build

Build your Modus app. The Modus CLI compiles your app and generates a .build folder for the artifacts.

uninstall

Uninstall the Modus CLI from your system.