Installation
This guide will help you install Serverless Monolith packages in your project.
Requirements
- Node.js: v18.0 or higher
- Package Manager: npm, pnpm, or yarn
Installing Core Package
The core package is the foundation of Serverless Monolith:
- pnpm
- npm
- yarn
pnpm add @serverless-monolith/core
npm install @serverless-monolith/core
yarn add @serverless-monolith/core
Installing Proxy Package
For multi-service routing:
- pnpm
- npm
- yarn
pnpm add @serverless-monolith/proxy
npm install @serverless-monolith/proxy
yarn add @serverless-monolith/proxy
Installing Lighthouse TUI
For the terminal user interface:
- pnpm
- npm
- yarn
pnpm add @serverless-monolith/lighthouse
npm install @serverless-monolith/lighthouse
yarn add @serverless-monolith/lighthouse
Installing All Packages
To install all packages at once:
- pnpm
- npm
- yarn
pnpm add @serverless-monolith/core @serverless-monolith/proxy @serverless-monolith/lighthouse
npm install @serverless-monolith/core @serverless-monolith/proxy @serverless-monolith/lighthouse
yarn add @serverless-monolith/core @serverless-monolith/proxy @serverless-monolith/lighthouse
Verifying Installation
After installation, verify that the packages are correctly installed:
# Check installed versions
pnpm list @serverless-monolith/core @serverless-monolith/proxy @serverless-monolith/lighthouse
Next Steps
Now that you have the packages installed, proceed to the Quick Start guide to create your first serverless monolith application.