Rapier logo

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
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.

For more information about the Nuxt module please refer to this link.