Skip to Content
Browse all templates at capricorn.build →

Next.js Installation

This guide applies to ALL Capricorn Next.js templates.

Prerequisites

  • Node.js 18.17 or later
  • npm or yarn
  • Code editor

Quick Start

# 1. Navigate to template folder cd your-template-folder # 2. Install dependencies npm install # 3. Start development server npm run dev # 4. Open browser # Visit http://localhost:3000

That’s it! Your template is now running.

What Just Happened?

  1. npm install - Downloaded all required packages
  2. npm run dev - Started Next.js development server
  3. localhost:3000 - Your site is live locally

Next Steps

Now that it’s running:

  1. Customize Your Template →
  2. Learn About Components →
  3. Deploy to Production →

Troubleshooting

Port 3000 already in use?

# Use a different port npm run dev -- -p 3001

Installation fails?

# Clear and reinstall rm -rf node_modules package-lock.json npm install

Need more help? Email support@capricorn.engineering

Last updated on