---
title: "Quickstart guide"
description: "Starting from a project with a passing run, break the build on purpose, debug it, and fix it, then explore the CircleCI features available on every plan."
platform: "Cloud"
doc_version: "unversioned"
last_updated: "2026-11-30"
cloud_plans: "Free, Performance, Scale"
version_control: "All supported providers"
---

> For current CircleCI product defaults, deprecated patterns, and Cloud/Server differences, see [AGENTS.md](https://circleci.com/docs/AGENTS.md).
>
> For the complete documentation index and site structure, see [llms.txt](https://circleci.com/docs/llms.txt).

# Quickstart guide

**Cloud plans:** Free, Performance, Scale

**Version control:** [All supported providers](https://circleci.com/docs/guides/integration/version-control-system-integration-overview/)

CircleCI is a CI/CD (continuous integration and delivery) platform for building, testing, and deploying your code. You describe work in a configuration file. Then set up triggers to run that work on events such as a push to your repository. CircleCI builds, tests, and deploys your code in an environment you choose, then reports the results.

Follow this guide for a tour of some CircleCI features. We start with a project building on CircleCI, then break the build, use CircleCI’s debugging tools to find the problem, and fix it. The guide ends with a tour of features to explore next. Each step has a web app tab and a CLI tab, so you can follow the one you prefer. If you need to get a project set up first, see [Create a Project](https://circleci.com/docs/guides/getting-started/create-project/).

Just looking around? You do not need an account to read this guide. The screenshots show what CircleCI looks like in practice. Select a thumbnail to enlarge it.

## Prerequisites

*   A project with a passing pipeline run. If you do not have one yet, follow the [Create a Project](https://circleci.com/docs/guides/getting-started/create-project/) guide first, then return here.
    
*   To follow the CLI tabs, the [CircleCI CLI](https://circleci.com/docs/guides/toolkit/circleci-cli/) installed and authenticated with `circleci auth login`.
    

## 1\. Explore your pipeline

Your first run shows how CircleCI organizes work. A pipeline run contains workflows, workflows contain jobs, and jobs contain steps.

<Tabs>
<Tab title="Web app">

1.  In the [CircleCI web app](https://app.circleci.com/), select **Pipelines** from the sidebar. Use the **Project** filter to make sure you are looking at pipelines for your chosen project.
    
    > **Image:** The Pipelines page in the CircleCI web app
    
2.  Select a workflow by name to view the workflow graph.
    
    > **Image:** A workflow graph in the CircleCI web app
    
3.  Select a job to see the steps that ran.
    
    > **Image:** The steps that ran in a job
    
4.  Expand any step to read its output. You can search, share, or download the output.
    
    > **Image:** An expanded step showing its output
    
5.  Use the tabs along the top of the job page to see test results, Smarter Testing usage (once set up), timing data, artifacts, and resource usage.
    
    > **Image:** The tabs along the top of the job page

</Tab>
<Tab title="CLI">

1.  In your project directory, link the project to the CLI so later commands resolve it automatically. You must link the project if your organization slug starts with `circleci/`. Otherwise the CLI derives the project from your git remote.
    
    ```console
    $ circleci project link
    ```
    
2.  List your recent runs.
    
    ```console
    $ circleci run list
    ```
    
3.  Open the interactive view of the latest run. Use the arrow keys and Enter to move from the run into its workflows, jobs, and steps. Use Esc to go back. When you select a job, the list also offers a job report and a full job report that includes step output. You can also view failed tests, resource usage, and artifacts. The interactive view covers the same information as the web app.
    
    ```console
    $ circleci run get
    ```

</Tab>
</Tabs>

## 2\. Break your build

The fastest way to learn the debugging tools is to use them on a failure you caused. Add a step that fails to one of the jobs in your CircleCI configuration file, commonly stored as `.circleci/config.yml`.

1.  Under `steps` in any job, add the following `run` step. The command exits with an error because the file does not exist.
    
    ```yaml
          - run:
              name: Break the build on purpose
              command: cat missing-file.txt
    ```
    
2.  Commit the change and push it to your repository. The push triggers a new run.
    

<Tabs>
<Tab title="Web app">

1.  In the web app, open your project. The new pipeline run appears at the top of the list. When the job fails, the status changes to **Failed**.
    
    > **Image:** A failed pipeline run in the CircleCI web app

</Tab>
<Tab title="CLI">

Watch the run in your terminal. The view updates live with the status of each workflow and job. Use q to quit the view. The command exits when the run finishes, and returns a nonzero exit code if the run fails. A failed run also prints suggested commands for reading the failed steps.

```console
$ circleci run watch
```

</Tab>
</Tabs>

## 3\. Debug and fix the build

CircleCI gives you several ways to find out why a job failed. Start with the output of the failed step, then use the other tools if the output is not enough.

<Tabs>
<Tab title="Web app">

1.  Open the failed job. CircleCI expands the step that failed and marks it with an error. Read the step output. You see `cat: missing-file.txt: No such file or directory`.
    
    > **Image:** The failed job with the failed step expanded
    
2.  Select **Explain error** on the failed step for a plain-language summary of the failure. Refer to [Explain This Error](https://circleci.com/docs/guides/toolkit/intelligent-summaries/) for details.
    
    > **Image:** The Error Analysis panel opened by the Explain error button
    
3.  Chunk is available for GitHub projects only. If your organization has Chunk set up, select **Fix Job** in the job header to have Chunk investigate the failure and propose a fix. Refer to [Chunk Overview and Setup](https://circleci.com/docs/guides/toolkit/chunk-setup-and-overview/) for details.
    
4.  For failures you cannot find from the output, select **Rerun** then **Rerun job with SSH** to open a shell in the job’s environment. Refer to [Debug Jobs With SSH Rerun](https://circleci.com/docs/guides/execute/ssh-access-jobs/) for details.
    
    > **Image:** The Rerun menu with the Rerun job with SSH option

</Tab>
<Tab title="CLI">

1.  Open the latest run and drill into the failed job.
    
    ```console
    $ circleci run get
    ```
    
2.  Select the failed step to read its output. You see `cat: missing-file.txt: No such file or directory`.
    
3.  To get condensed output for every failed step in one command, add the `--failure-report` flag.
    
    ```console
    $ circleci run get --no-interactive --failure-report
    ```

</Tab>
</Tabs>

Now fix the problem.

1.  Remove the `Break the build on purpose` step from your configuration file.
    
2.  Optionally, check the file for errors before you push.
    
    ```console
    $ circleci config validate
    ```
    
3.  Commit the change and push it to your repository.
    

The next run passes. You have now gone from a failing build to a passing build using the tools you use every day.

## 4\. Explore more features

The following features are available on every plan unless the description says otherwise. Each one links to its documentation.

### Testing and debugging

[Smarter Testing](https://circleci.com/docs/guides/test/smarter-testing-overview/)

Spend less time waiting on tests. Run your tests with `circleci testsuite`, which is free on every plan. Test impact analysis, dynamic test splitting, and auto-rerun are paid add-on capabilities with a credit charge.

[Rerun With SSH](https://circleci.com/docs/guides/execute/ssh-access-jobs/)

Open a shell in a job’s build environment to inspect files, processes, and permissions, so you can debug a failure where it happened.

[Chunk](https://circleci.com/docs/guides/toolkit/chunk-setup-and-overview/)

Let an AI agent investigate failing builds and propose fixes, so you spend less time reading logs.

### Config and local tools

[CircleCI CLI](https://circleci.com/docs/guides/toolkit/circleci-cli/)

Validate config, watch runs, and read job output from your terminal, so you can stay in your workflow.

[CircleCI MCP](https://circleci.com/docs/guides/toolkit/circleci-mcp-overview/)

Connect an AI assistant to your pipelines so it can inspect runs and diagnose failures without you copying logs.

[Orbs](https://circleci.com/docs/orbs/use/orb-intro/)

Reuse packaged, parameterized configuration for common tools and cloud services, so you write less configuration.

[Functions](https://circleci.com/docs/functions/functions-intro/)

Call versioned, tested programs as steps to set up tools, dependencies, and credentials. You do not rewrite the same setup in every configuration.

### Speed and visibility

[Caching](https://circleci.com/docs/guides/optimize/caching/)

Reuse dependencies between runs to shorten your jobs.

[Workflows](https://circleci.com/docs/guides/orchestrate/workflows/) and [Parallelism](https://circleci.com/docs/guides/optimize/parallelism-faster-jobs/)

Run jobs side by side, and split the work of one job across several executors, so pipelines finish sooner.

[Resource Usage](https://circleci.com/docs/guides/execute/resource-class-overview/#view-resource-usage-per-job)

See the CPU and memory a job used, so you can choose the right resource class.

[Insights](https://circleci.com/docs/guides/insights/insights/)

See success rates, pipeline duration, and credit usage over time, so you can spot trends.

### Deploy and secure

[Deploys](https://circleci.com/docs/guides/deploy/deployment-overview/)

Deploy to any target, track deployments with deploy markers, and roll back to a stable version from the CircleCI web app.

[Contexts](https://circleci.com/docs/guides/security/contexts/)

Store secrets and environment variables once and share them across projects, so credentials stay out of your configuration.

## Next steps

*   [Find the Right Starting Point](https://circleci.com/docs/guides/getting-started/find-the-right-starting-point/) if your task does not match this guide
    
*   [Introduction to Configuration](https://circleci.com/docs/guides/getting-started/config-intro/)
    
*   [CircleCI Concepts](https://circleci.com/docs/reference/concepts/)
    
*   [Invite Your Team](https://circleci.com/docs/guides/getting-started/invite-your-team/)
    
*   [CircleCI Plans Overview](https://circleci.com/docs/guides/plans-pricing/plan-overview/) for paid features, more compute, and higher concurrency
    
*   [CircleCI foundation videos](https://www.youtube.com/playlist?list=PL9GgS3TcDh8wqLRk-0mDz7purXh-sNu7r)
    

Using an AI coding assistant? Point it at [circleci.com/docs/AGENTS.md](https://circleci.com/docs/AGENTS.md) for current defaults, deprecated patterns, and the differences between Cloud and Server.