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
Recommended:
Use pnpm for the fastest install experience and consistent dependency resolution.
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.
Port Customization
Change the port by adding
--port <port-number> or -p <port-number> to your launch command. Update the .env or .env.local file's URL to reflect the new port. For example, pnpm dev --port 3001 changes the URL to http://localhost:3001.