npm init post@latest
The fastest way to start a new post.js project with zero configuration required, using the classic npm init
syntax.
Getting Started
npm init post@latest
Step 1: Run Command
Execute this command in your terminal to start the interactive setup wizard.
Step 2: Configure Project
Follow the prompts to name your project, select features like TypeScript, real-time support, and more.
Step 3: Start Developing
Change into your project directory and start the development server.
cd my-project
npm run dev
Included Features
Zero-Config
No build configuration needed - just create and start coding.
Real-Time
Built-in WebSocket support for instant updates and collaboration.
Performance
Optimized for speed with WebAssembly rendering and caching.
Project Structure
my-project/
├── app/
│ ├── layouts/
│ ├── routes/
│ └── components/
├── posts/
│ ├── api/
│ └── middleware/
├── public/
├── post.config.js
├── package.json
└── .env
The folder structure is designed for convention-over-configuration. All routes and APIs are auto-generated based on file placement.
Advanced Options
TypeScript
Enable TypeScript during setup for type-safe development.
Yes / No
Authentication
Add built-in authentication with one prompt during project creation.
Yes / No
Tip: The npm create post@latest
syntax is also available as a modern alternative to npm init
.