Before installing ForgeTS, ensure your system meets the following requirements:
- Operating System: macOS, Linux, or Windows (WSL recommended)
- Node.js: Version 20.0.0 or higher
- Verify with
node -v
- Verify with
- Package Manager: pnpm (version 8+ recommended)
- Verify with
pnpm -v - Install via Corepack:
corepack enable(if using Node.js < 16.9.0 install manually) ornpm install -g pnpm
- Verify with
- Git: Version control system
-
Clone the Repository
git clone <repository-url> cd ForgeTS
-
Install Dependencies
We use
pnpmfor efficient dependency management in this monorepo.pnpm install
This command will:
- Install dependencies for the root workspace.
- Install dependencies for all packages in
packages/*. - Link local packages together.
-
Verify Installation
Run the build command to ensure everything is set up correctly.
pnpm build
If the build succeeds, your environment is ready.
- pnpm not found: Ensure
pnpmis installed globally or enabled via Corepack. - Node version mismatch: Use
nvmorfnmto switch to Node.js 20+. The project likely has a.nvmrcorenginesfield inpackage.jsonspecifying the version.