Installation & Setup

Getting Started

Let's get it started, ha!



  • Firstly, ensure you have the Dart SDK installed.

Now, install the Angel CLI. The CLI includes several code generators and commands that will help you expedite your development cycle.

$ pub global activate angel_cli

Now, let's create a sample project, called hello.


$ angel init hello

This will create a folder called hello, and copy the Angel boilerplate into it. If you wanted to initialize a project within the current directory, instead of making new one, you could have run:

$ angel init

Follow the instructions given. There are different types of boilerplates, but all of the server templates will generate very similarly-structured projects.

It's easy to run our server. Just type the following:

# Use the `--observe` flag to enable hot reloading in Angel.
dart --observe bin/server.dart

And there you have it - you've created an Angel application!

Next Up...

Continue reading to learn about requests and responses.

Last updated