Basic Usage
Step-by-step walkthrough of creating and running your first Morax monorepo.
The Interactive Wizard
When you execute npm create morax@latest, you will be guided through a series of intuitive terminal prompts:
Terminal Output
Monorepo Directory Layout
Morax generates a clean, standard pnpm monorepo structure. Applications live in apps/, while reusable packages live in packages/:
Directory Tree
Running Workspace Commands
Enter your new project folder and use pnpm to execute commands across your entire monorepo:
Project Root
To run scripts for a specific application only, use the --filter flag:
Filtered Execution
Importing Shared Packages
Morax automatically links shared packages into your application package.json files using pnpm’s workspace:* protocol.
You can import components directly into your Next.js or Vite apps with zero extra build steps:
apps/web/src/app/page.tsx