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:3000That’s it! Your template is now running.
What Just Happened?
- npm install - Downloaded all required packages
- npm run dev - Started Next.js development server
- localhost:3000 - Your site is live locally
Next Steps
Now that it’s running:
Troubleshooting
Port 3000 already in use?
# Use a different port
npm run dev -- -p 3001Installation fails?
# Clear and reinstall
rm -rf node_modules package-lock.json
npm installNeed more help? Email support@capricorn.engineering
Last updated on