Install
Install Modus CLI via npm.The Modus CLI automatically downloads various files and dependencies to the
following directory:Note, the Windows
- Linux/macOS:
$HOME/.modus - Windows:
%USERPROFILE%/.modus
MODUS_HOME environment variable to the desired path.For example, if your local permissions on Windows donโt allow creating a
directory in the root of your user profile, you can try a different location.
You can use the AppData directory, or any other directory where you have write
permissions.setx command makes the environment variable setting
permanent.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 alongside the Modus CLI, users get access to
Hypermodeโs Model Router for local development.
build
Build your Modus app. The Modus CLI compiles your app and generates a .build
folder for the artifacts.