﻿---
title: assembler config init cli command
description: Fetch the assembler configuration into local application data. All assembler and codex commands read their repository list from a central configuration...
url: https://docs-v3-preview.elastic.dev/elastic/docs-builder/pull/2927/cli/assembler/config/init
products:
  - Elastic Docs Builder
---

# assembler config init cli command
```bash
docs-builder assembler config init [options]
```

Fetch the assembler configuration into local application data.

## Options

<definitions>
  <definition term="--git-ref string">
    Git ref to fetch. Defaults to main.
  </definition>
  <definition term="--[no-]local">
    Write the configuration into cwd so subsequent commands treat it as a local override.
    **Default:** `false`
  </definition>
  <definition term="-l --log-level enum">
    Minimum log level.
    **Values:** trace, debug, information, warning, error, critical, none
    **Default:** `information`
  </definition>
  <definition term="-c --config-source enum">
    Override the configuration source: local, remote
    **Values:** local, remote, embedded
  </definition>
  <definition term="--[no-]skip-private-repositories">
    Skip cloning private repositories
  </definition>
</definitions>


## Notes

All assembler and codex commands read their repository list from a central configuration repository.
Run this once before the first assembler clone or assemble invocation, and whenever
the configuration has changed upstream.