# Quick Tip: Automatically generate the scaffolding for your next project

Producing the necessary files and configuration each time you start a new project setup could become tiresome. This is the case especially when you’re setting nothing different from a previous project.

In this quick tip, I’d like to show you a quicker alternative to getting a Dart project up and running using a package named [**stagehand**](https://pub.dartlang.org/packages/stagehand).

## Prefer a video instead?

%[https://www.youtube.com/watch?v=DbLZO3MLigE] 

Stagehand is a Dart project scaffolding generator inspired by mainstream tools like Web Starter Kit and Yeoman.

Now assuming you have [Dart version 2](https://www.dartlang.org/tools/sdk#install) already installed(`brew install dart --devel`), you can grab stagehand 3.0 by running the below command:

```bash
$ pub global activate stagehand
```

At this present time you could generate these templates:

1. **console-full** – A command-line application sample.
    
2. **package-simple** – A starting point for Dart libraries or applications.
    
3. **server-shelf** – A web server built using the shelf package.
    
4. **web-angular** – A web app with material design components.
    
5. **web-simple** – A web app that uses only core Dart libraries.
    
6. **web-stagexl** – A starting point for 2D animation and games.
    

So let’s say we wanted to generate the scaffolding for an [AngularDart](https://pub.dartlang.org/packages/angular) application. We can do this by running the commands below:

```bash
$ mkdir awesome_dart_project
$ cd awesome_dart_project
$ stagehand web-angular # or whichever template
```

And this gives us the below with further instructions in the output:

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1725606577630/65cc7a8f-9fa5-4258-9e0b-01755cb34ae6.png align="center")

That’s it for today’s quick tip. Now how about you give it a go?

**Subscribe to** [**my YouTube channel**](https://youtube.com/c/CreativeBracket) **for the latest videos on Dart**, thanks!

**Like, share and** [**follow me**](https://twitter.com/creativ_bracket) ? for more articles on Dart.

## **Quick links**

1. [Stagehand package](https://pub.dartlang.org/packages/stagehand)
    
2. [Dart install instructions](https://www.dartlang.org/tools/sdk#install)
    
3. [**Free Dart screencasts on Egghead.io**](https://egghead.io/instructors/jermaine-oppong)
