Skip to content

Quick Start

Creating an Application

Prerequisites

  • Command line support
  • Node.js version 20 or higher.

In this section, you will learn how to create a new Laratype application. You can get started right away with the following command:

sh
$ npx create laratype@latest
sh
$ pnpm create laratype@latest
sh
$ yarn create laratype@latest
sh
$ bun create laratype@latest

The command above will execute create-laratype and create a new Laratype application in the current directory. You can name your project, choose configuration options, and start developing your application immediately.

md
√ Enter the name of your package: ... laratype-test
√ Do you want to use ORM? ... yes
Your project laratype-test has been initialized.
cd laratype-test
npm install

After the project has been created, install the dependencies and start the dev server:

sh
cd <project-name>
npm install
npm run dev
sh
cd <project-name>
pnpm install
pnpm dev
sh
cd <project-name>
yarn install
yarn dev
sh
cd <project-name>
bun install
bun dev