Getting Started

1. Requirements

Node.js >= 12.18.0

$ node -v # >= v12.18.0

We recommend using nvm for managing your Node.js installation version(s).

Quick guide on installing/using nvm

Install nvm via your OS package manager (aptitude, pacman, homebrew, ...) or alternatively via nvm install script.

Then, install a version of node that you need (any >= 12.18.0), e.g.:

$ nvm install 12

Finally, whenever you need to ensure specific version of node is used, run e.g.

$ nvm use 12

to set the node version for current shell session.

You can run

$ node -v

to check the version of node currently being used in this shell session.

Check NVM repo for more details: https://github.com/nvm-sh/nvm .

2. Installation

Open your terminal and run:

curl -sSL http://get.wasp-lang.dev | sh

3. Creating and running your first app

$ wasp new MyNewApp # Creates a new web app named MyNewApp.
$ cd MyNewApp
$ wasp start # Serves the web app.

That's it ๐ŸŽ‰! You have successfully created and served a new web app at http://localhost:3000 and Wasp is serving both frontend and backend for you.

4. What next?

Check out the ๐Ÿค“ Todo App tutorial ๐Ÿค“ , which will take you through all the core features of Wasp!

You can also:

  • Join the community on Discord! Any feedback or questions you have, we are there for you.
  • If you are using Visual Studio Code, install our Wasp language extension!