Installation & Setup

Getting Started

Let's get it started, ha!

Installation

Prerequisites

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.

Run:

$ angel init hello

This will create a folder called hello, and copy the Angel boilerplatearrow-up-right 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:

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

Next Up...

Continue reading to learn about requests and responses.

Last updated