NextFire main logoNextFire
Docs X
Introduction
Get Started
Clone repo
Run the app
Configuration
Firebase
Create firebase app
Authentication
Firestore
Storage
Functions
Global configuration
Public
Site config
Payments
Stripe
One time
Subscriptions
Webhooks
Usage
Project structure
Static pages
Public pages
Protected pages
Auth
Client auth
Server auth
Data fetching
Firestore client
Firestore admin
Functions
Storage
Content
Blog
Documentation
Components
Markdown
Cards
Diagrams
Filetree
Lists
Maths
Notes
Steps
Table
Tabs
Public
Deep
Deeper
Even deeper
  1. Get Started
  2. Clone Repo

Clone the repo

This guide covers the installation of the project.

Once you’ve purchased a license, you’ll be able to access all repositories. In this guide, we’ll walk through how to clone and install the codebase.

Requirements

To get started with the Next.js and Firebase SaaS template, we need to ensure you install the required software.

  • Node.js (LTS recommended)
  • Git

Install the project

1

Clone repo

In your terminal, run the following commands one-by-one:

git clone https://github.com/the-wk-org/nextjs-firebase-starter [YOUR_APP_NAME]
cd [YOUR_APP_NAME]
2

Rename .env.example to .env.local

mv .env.example .env.local
3

Install dependencies and run app

npm install
git remote remove origin
npm run dev

Note:

You will see errors in the console but nothing important.

While the application code is fully working, we now need to set up your Firebase project. So let's jump on to the next step!

Get StartedRun the app

On this page

RequirementsInstall the project

Content

FeedbackEdit page

© 2025 Ship IT.

Rubix Studios logo