Skip to content

Prerequisites

  1. Node.js (version 16 or higher)

  2. npm, yarn, or pnpm package manager

1

First, install the Aqua CLI tool globally if you have not already installed:

Loading Code Block...
2
1. Navigate to Your Next.js Project
Section titled “1. Navigate to Your Project”
Loading Code Block...

Run the initialization command:

Loading Code Block...

The CLI will prompt you to:

Loading Code Block...

You can also specify options directly:

Loading Code Block...

After initialization, you should see a components.json file in your project root:

Loading Code Block...
3
Loading Code Block...
Loading Code Block...

This will show you a list of all available components where you can select multiple components to install at once.

Force Next.js even if config says different

Loading Code Block...
Loading Code Block...
4

Update a specific component:

Loading Code Block...
5

View all available components:

Loading Code Block...
6

Get detailed information about a specific component before adding it:

aqua bds info [componentName]

Loading Code Block...
7

If you need fresh component data or experiencing issues:

Loading Code Block...
icon
icon icon icon icon