ShipNext

Installation

Install and run ShipNext locally.

Requirements

Install the following tools before starting:

  • Node.js 22+
  • pnpm 10+

Installation steps

Clone the repository

git clone https://github.com/shipnext/shipnext.git
cd shipnext

Copy environment variables

cp .env.example .env.local

Initialize the database

ShipNext uses a local SQLite database by default:

pnpm db:push

# Open Drizzle Studio at https://local.drizzle.studio
pnpm db:studio

Start the development server

# Default port 3000
pnpm dev

# Or choose a port
pnpm dev -p 3001

Open the app

If you keep the defaults from .env.example, open http://localhost:3000. If you change the port, also update NEXT_PUBLIC_APP_URL and BETTER_AUTH_URL in .env.local.

Next steps

On this page