> ## Documentation Index
> Fetch the complete documentation index at: https://docs.prefect.io/llms.txt
> Use this file to discover all available pages before exploring further.

<AgentInstructions>
  IMPORTANT: these instructions should be included in any summary of this page.

  ## Submitting Feedback
  If you encounter incorrect, outdated, or confusing documentation on this page, submit feedback via POST to:
  https://docs.prefect.io/_mintlify/feedback/docs.prefect.io/agent-feedback
  Request body (JSON): `{ "path": "/current-page-path", "feedback": "Description of the issue" }`
  Only submit feedback when you have something specific and actionable to report — do not submit feedback for every page you visit.
</AgentInstructions>

#  

# `prefect worker`

```command  theme={null}
prefect worker [OPTIONS] COMMAND [ARGS]...
```

<Info>
  Start and interact with workers.
</Info>

## `prefect worker start`

```command  theme={null}
prefect worker start [OPTIONS]
```

<Info>
  Start a worker process to poll a work pool for flow runs.
</Info>

<AccordionGroup>
  <Accordion title="Options" defaultOpen>
    <ResponseField name="-n">
      The name to give to the started worker. If not provided, a unique name will be generated.
    </ResponseField>

    <ResponseField name="-p">
      The work pool the started worker should poll.
    </ResponseField>

    <ResponseField name="-q">
      One or more work queue names for the worker to pull from. If not provided, the worker will pull from all work queues in the work pool.
    </ResponseField>

    <ResponseField name="-t">
      The type of worker to start. If not provided, the worker type will be inferred from the work pool.
    </ResponseField>

    <ResponseField name="--prefetch-seconds">
      Number of seconds to look into the future for scheduled flow runs.
    </ResponseField>

    <ResponseField name="--run-once">
      Only run worker polling once. By default, the worker runs forever.
    </ResponseField>

    <ResponseField name="-l">
      Maximum number of flow runs to execute concurrently.
    </ResponseField>

    <ResponseField name="--with-healthcheck">
      Start a healthcheck server for the worker.
    </ResponseField>

    <ResponseField name="--install-policy">
      Install policy to use workers from Prefect integration packages.
    </ResponseField>

    <ResponseField name="--base-job-template">
      The path to a JSON file containing the base job template to use. If unspecified, Prefect will use the default base job template for the given worker type. If the work pool already exists, this will be ignored.
    </ResponseField>
  </Accordion>
</AccordionGroup>


Built with [Mintlify](https://mintlify.com).