Getting Started Qwikly

Qwik is a new kind of framework that is resumable (no JS and no hydration), built for the edge and familiar for React developers.


Creating an app using the CLI

The first step is to create an application. Qwik comes with a CLI that allows you to create a basic working skeleton of an application. We will use the CLI to create a blank starter so that you can quickly familiarize yourself with it.

Run the Qwik CLI in your shell

npm create qwik@latest

The CLI will guide you through an interactive menu to set the project-name and select one of the starters:

After your new app is created, you will see an output like the following in your terminal:

๐Ÿ’ซ Let's create a Qwik app ๐Ÿ’ซ

โœ” Project name โ€ฆ qwik-app
โœ” Select a starter โ€บ Blank
โœ” Features โ€บ Prettier

โญ๏ธ Success! Project saved in qwik-app directory

๐Ÿค– Next steps:
   cd qwik-app
   npm install
   npm start

๐Ÿ’ฌ Questions? Start the conversation at:

At this point, you will have qwik-app directory, that contains the starter app.

Running in development

Once the application is download.

  1. Change into the directory created by the npm create qwik@latest.
cd qwik-app
  1. Install NPM modules:
npm install
  1. Invoke the dev server
npm start
  1. You should see a server running with your To-do application

  VITE v3.0.2  ready in 140 ms

  โžœ  Local:   http://localhost:5174/
  โžœ  Network: use --host to expose

  1. Visit http://localhost:5174/ to explore the app.


Here are some useful commands to get you started. For a complete list please refer to package.json.

  • npm start: alias to npm run dev (this currently defaults to running dev.ssr)
  • npm run dev.client: starts the dev server in client bootstrap mode
  • npm run dev.ssr: starts the dev server with SSR
  • npm run build: builds the application for production
Made with โค๏ธ by