create-nextpress v1.4.7
Create NextPress v1.4.7
The ultimate CLI for creating high-performance Next.js projects with pre-configured shadcn/ui, Prisma, better-auth, and zustand - all optimized for maximum developer productivity.
Why NextPress? š
NextPress accelerates your Next.js development by providing:
- š„ Blazing Fast Setup: 3x faster than traditional project initialization
- š§© Best-in-class Integrations: Perfectly configured modern tools
- š ļø Zero Configuration: Immediate productivity with no manual setup
- š± Responsive by Default: Mobile-friendly UI components
- š Built-in Authentication: Secure user management out of the box
- ā” Turbopack Support: Next.js built-in compiler for faster development
Features āØ
- ā” Next.js 15+ with TypeScript & Tailwind CSS
- š¦ Premium Integrated Tools:
- shadcn/ui: Beautifully designed, accessible components
- Prisma ORM: Type-safe database toolkit with auto-migration
- better-auth: Enterprise-grade authentication
- zustand: Lightweight state management
- š Concurrent Installation: Multi-threaded dependency setup
- š ļø Automatic Configuration: Zero manual setup required
- š SEO Optimized: Best practices for search engines built-in
- š Internationalization Ready: Easily add multi-language support
- š Fast Mode: Skip audits and use cache for even faster installation
- š Flexible Directory Structure: Optional src directory support
Quick Start š
Create a new NextPress project with a single command:
npx create-nextpress@latest
Or use with your preferred package manager:
# Using npm
npm create nextpress@latest
# Using yarn
yarn create nextpress
# Using pnpm
pnpm create nextpress
# Using bun
bunx create-nextpress
Step-by-Step Guide š
- Run the command above
- Enter your project name (e.g.,
my-awesome-app
) - Select your preferred package manager:
- npm
- yarn
- pnpm
- bun
- Wait for automatic setup (typically 1-3 minutes)
- Start development:
cd my-project npm run dev # or yarn dev, pnpm dev, bun run dev
- Open http://localhost:3000 to see your new application!
Advanced Options āļø
# Create fast project
bunx create-nextpress@latest my-project --bun --fast
# Create in current directory
npx create-nextpress@latest .
# Create with specific name
npx create-nextpress@latest my-project
# Specify package manager
npx create-nextpress@latest --pnpm
# Supported: --npm, --yarn, --pnpm, --bun
# Advanced configuration
npx create-nextpress@latest my-project --debug --concurrency 4 --fast
# Skip bundled package installations
npx create-nextpress@latest --skip-install
# Disable progress tracking
npx create-nextpress@latest --no-progress
# Check CLI version
npx create-nextpress@latest --version
System Requirements š
- Node.js 18.0.0 or later
- macOS, Windows, or Linux
- Supported package manager (npm, yarn, pnpm, or bun)
Performance Benchmarks š
FEATURE | PERFORMANCE IMPACT |
---|---|
Concurrent Installs | 3x faster |
Fast Mode | 2x faster |
Parallel Prisma Setup | 40% faster |
Optimized Dependencies | 2x smaller bundle |
Cold Start Time | <500ms |
Turbopack | 10x faster HMR |
Project Structure
my-project/
āāā src/ # Source directory (optional, enabled by default)
ā āāā app/ # Next.js App Router
ā āāā components/ # UI components (shadcn/ui)
ā ā āāā ui/ # shadcn/ui components
ā ā āāā custom/ # Your custom components
ā āāā lib/ # Utility functions and shared code
āāā prisma/ # Prisma schema and migrations
ā āāā schema.prisma # Database schema definition
ā āāā migrations/ # Auto-generated migrations
āāā public/ # Static assets
āāā .env # Environment variables
āāā .eslintrc.json # ESLint configuration
āāā next.config.js # Next.js configuration
āāā package.json # Project dependencies
āāā tailwind.config.js # Tailwind CSS configuration
āāā tsconfig.json # TypeScript configuration
āāā README.md # Project documentation
Documentation š
For detailed documentation and tutorials, visit comming soon
FAQ
How is concurrent installation implemented?
NextPress uses a custom concurrency engine that leverages your CPU cores for parallel package installation. This dramatically speeds up the setup process, especially on machines with multiple cores.
Can I use NextPress for production applications?
Absolutely! NextPress follows best practices and includes enterprise-grade libraries that make it ideal for both small projects and production applications.
npm install -g create-nextpress@latest
How can I customize the database connection?
Edit the prisma/schema.prisma
file to configure your database connection. NextPress supports PostgreSQL, MySQL, SQLite, SQL Server, MongoDB, and CockroachDB through Prisma.
Contributing š¤
We welcome contributions! Please see our contributing guidelines for details.
License š
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago