Beej
Guide

Getting Started

Set up a fully configured frontend workspace instantly.

Before Getting Started

Following are some requirements and practices recommended for using beej-cli.

Requirements

  • Node.js: v18.x or higher (v22+ recommended)
  • Package Manager: pnpm is highly recommended for building multi-package apps, but npm or yarn work natively.

Getting Started

The quickest way to experience the power of the Beej framework is by executing our interactive CLI initializer. The command prompts you to select a base framework, styling configuration, state layer, and networking tool—then instantly scaffolds your workspace.

Run the CLI Scaffold Tool

Execute the initialization sequence inside your target directory using your preferred package manager:

pnpm dlx @thanka-digital/beej-cli@latest

Complete the Interactive Wizard

The CLI will prompt you to pick your application options step-by-step:

  1. Project Name: Type your project's lowercase directory name.
  2. Framework: Select between React (Vite), Next.js, Vue, or Nuxt.
  3. UI Library: Pick Tailwind CSS, Chakra UI, or Mantine.
  4. State Management: Choose between React Context, Zustand, Jotai, or Redux.
  5. API Client: Choose Axios or TanStack Query (React Query).

Launch the Development Workspace

Navigate into your newly generated directory, install dependencies, and spin up the developer server:

cd your-project-name

Installing the dependencies

pnpm install
pnpm dev

And that is all you need. You are ready to start making amazing projects.

On this page