# How to Run a Workflow

## Background

{% content-ref url="../../core-concepts/scaffold/workflow" %}
[workflow](https://docs.stoobly.com/core-concepts/scaffold/workflow)
{% endcontent-ref %}

## To Run a Workflow

There are two ways to run a workflow:

1. Use the CLI command
2. Use the provided `Makefile`

### CLI Command

The CLI command is `stoobly-agent scaffold workflow up` .

This is great for users who have small setups and prefer getting started quickly. To learn more, see:

{% content-ref url="how-to-run-a-workflow/running-with-cli-command" %}
[running-with-cli-command](https://docs.stoobly.com/guides/how-to-integrate-e2e-testing/how-to-run-a-workflow/running-with-cli-command)
{% endcontent-ref %}

### Makefile

The Makefile contains commands for common operations. This provides an opinionated way to run commands following our best practices. This is recommended for teams using CI environments. To learn more, see:

{% content-ref url="how-to-run-a-workflow/running-with-make" %}
[running-with-make](https://docs.stoobly.com/guides/how-to-integrate-e2e-testing/how-to-run-a-workflow/running-with-make)
{% endcontent-ref %}
