Skip to content
Riot Docs

Search is only available in production builds. Try building and previewing the site to test it out locally.

Install Riot GitHub

riot add

riot add is the normal way to grow a package’s dependency surface.

Terminal window
riot add colors

Adding a package should do more than edit a manifest line. It should participate in the same package management model as the rest of the toolchain:

  • dependency selection
  • lockfile updates
  • local materialization
  • predictable future builds

Use riot add whenever the dependency should become part of the package’s declared contract.