You need to have Node.js installed and it needs to be at least version 12.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.:
Finally, whenever you need to ensure specific version of node is used, run e.g.
to set the node version for current shell session.
You can run
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 .
- Linux / OS X
- From source
Run following command to download and install
Creating and running your first app
Execute the following commands in your terminal:
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.
If you are using Visual Studio Code, install our Visual Studio CodeWasp language extension!
Check out our Todo App tutorial.