Installation Guide
Learn how to add Rapier to your TresJS project.
Manual installation
To install the package manually on an existing project:
pnpm add @tresjs/rapier@alpha
npm install @tresjs/rapier@alpha
yarn add @tresjs/rapier@alpha
The package is published under the
alpha dist-tag while the API stabilizes — expect breaking changes between releases. Pin the exact version in your package.json.Nuxt
If you're using Nuxt, installing our Nuxt module will detect automatically rapier.