Installation

Install the shadcn admin dashboard template, configure environment variables, and run it locally.

Before you start

Make sure you have the following installed on your machine:

  • Node.js 18.17 or later
  • A package manager: pnpm, npm, yarn, or bun
  • A code editor such as VS Code
  • Git, if you plan to use version control

Install dependencies

From the root of the extracted Admin Dashboard Template folder, install the project dependencies:

Set environment variables

The Admin Dashboard Template includes an .env.example file, copy it to .env.local and fill in the values required by the features you enable.

Run the development server

Start the local development server:

The app should be available at http://localhost:3000.

Build for production

Create an optimized production build before deployment:

Preview the production build

After building, preview the production version locally: