﻿---
title: Assembler commands
description: Assembler builds bring together all isolated builds and turn them into the overall documentation that gets published. If you want to build the latest...
url: https://docs-v3-preview.elastic.dev/elastic/docs-builder/pull/2348/cli/assembler
---

# Assembler commands
Assembler builds bring together all isolated builds and turn them into the overall documentation that gets published.
If you want to build the latest documentation, you can do so using the following commands
<note>
  When assembling using the `config init --local` option, it's advised to create an empty directory to run these commands in.
  This creates a dedicated workspace for the assembler build and any local changes that you might want to test.
</note>

```bash
docs-builder assembler config init --local
docs-builder assemble --serve
```

The full assembled documentation should now be running at http://localhost:4000.
The [assemble](https://docs-v3-preview.elastic.dev/elastic/docs-builder/pull/2348/cli/assembler/assemble) command is syntactic sugar over the following commands:
```bash
docs-builder assembler config init --local
docs-builder assembler clone
docs-builder assembler build
docs-builder assembler serve
```

Which may be more appropriate to call in isolation depending on the workflow you are going for.
All `assembler` commans take an `--environment <environment>` argument that defaults to 'dev' but can be set e.g to 'prod' to
build the production documentation. See [assembler.yml](https://docs-v3-preview.elastic.dev/elastic/docs-builder/pull/2348/configure/site) configuration for which environments are
available

## Build commands

- [assemble](https://docs-v3-preview.elastic.dev/elastic/docs-builder/pull/2348/cli/assembler/assemble)
- [assembler build](https://docs-v3-preview.elastic.dev/elastic/docs-builder/pull/2348/cli/assembler/assembler-build)
- [assembler clone](https://docs-v3-preview.elastic.dev/elastic/docs-builder/pull/2348/cli/assembler/assembler-clone)
- [assembler config init](https://docs-v3-preview.elastic.dev/elastic/docs-builder/pull/2348/cli/assembler/assembler-config-init)
- [assembler index](https://docs-v3-preview.elastic.dev/elastic/docs-builder/pull/2348/cli/assembler/assembler-index)
- [assembler serve](https://docs-v3-preview.elastic.dev/elastic/docs-builder/pull/2348/cli/assembler/assembler-serve)


## Specialized build commands

- [assembler bloom-filter create](https://docs-v3-preview.elastic.dev/elastic/docs-builder/pull/2348/cli/assembler/assembler-bloom-filter-create)
- [assembler bloom-filter lookup](https://docs-v3-preview.elastic.dev/elastic/docs-builder/pull/2348/cli/assembler/assembler-bloom-filter-lookup)


## Validation commands

- [assembler content-source match](https://docs-v3-preview.elastic.dev/elastic/docs-builder/pull/2348/cli/assembler/assembler-content-source-match)
- [assembler content-source validate](https://docs-v3-preview.elastic.dev/elastic/docs-builder/pull/2348/cli/assembler/assembler-content-source-validate)
- [assembler navigation validate](https://docs-v3-preview.elastic.dev/elastic/docs-builder/pull/2348/cli/assembler/assembler-navigation-validate)
- [assembler navigation validate-link-reference](https://docs-v3-preview.elastic.dev/elastic/docs-builder/pull/2348/cli/assembler/assembler-navigation-validate-link-reference)


## Deploy commands

- [assembler deploy apply](https://docs-v3-preview.elastic.dev/elastic/docs-builder/pull/2348/cli/assembler/assembler-deploy-apply)
- [assembler deploy plan](https://docs-v3-preview.elastic.dev/elastic/docs-builder/pull/2348/cli/assembler/assembler-deploy-plan)
- [assembler deploy update-redirects](https://docs-v3-preview.elastic.dev/elastic/docs-builder/pull/2348/cli/assembler/assembler-deploy-update-redirects)