Quick Start
This quick start assumes the npm alpha package is installed.
1. Install Avis
Section titled “1. Install Avis”npm install -g avis-dev@alphaAvis is installed on your machine, not into the target application.
2. Enter an Existing Project
Section titled “2. Enter an Existing Project”Use a project already created by its normal framework initializer:
cd my-next-app3. Run Avis
Section titled “3. Run Avis”avisAvis detects the project and prints compatible capabilities.
4. Add a Capability
Section titled “4. Add a Capability”Search when you know the purpose but not the package:
avis search iconsavis show iconsAdd a capability:
avis add iconsIn the current Next.js alpha, icons resolves to Lucide React by default and shows React Icons and Heroicons React as alternatives.
If you already know the exact integration you want, concrete integration commands still work:
avis add lucide-react5. Review the ChangePlan
Section titled “5. Review the ChangePlan”Avis prints the changes before applying them:
Avis will make these changes:
Dependencies+ lucide-react6. Confirm
Section titled “6. Confirm”Avis asks before modifying the project:
Apply changes?7. Verify
Section titled “7. Verify”Run:
avis doctoravis doctor checks project state and reports whether supported integrations are healthy, partially configured, not installed, broken, or unknown.
Local Development Alternative
Section titled “Local Development Alternative”If you are working from source before using the npm package:
cd avis-devpnpm installpnpm buildcd path/to/my-next-appnode path/to/avis-dev/packages/cli/dist/index.js doctor