﻿---
title: stack kb elastic-package-manager-epm post-fleet-epm-packages-bulk cli command
description: Bulk install packages Behaviour flags: --dry-run — validate all inputs and exit without performing any action 
url: https://www.elastic.co/elastic/docs-builder/docs/4089/reference/elastic-cli/cli/stack/kb/elastic-package-manager-epm/post-fleet-epm-packages-bulk
applies_to:
  - Elastic Cloud Serverless: Preview
  - Elastic Stack: Preview
---

# stack kb elastic-package-manager-epm post-fleet-epm-packages-bulk cli command
<cli-modifiers>
</cli-modifiers>

```bash
elastic stack kb elastic-package-manager-epm post-fleet-epm-packages-bulk \
  --packages <packages> \
  [options]
```

Bulk install packages
**Behaviour flags:**
`--dry-run` — validate all inputs and exit without performing any action

## Options

<definitions>
  <definition term="--packages string[] required">
    **Repeatable:** pass `--packages` multiple times to supply more than one value
  </definition>
  <definition term="--prerelease">
    When true, allow installing prerelease versions
  </definition>
  <definition term="--allow-outdated-version">
    When true, allow installing a version older than the latest available. Bypasses only the out-of-date version check.
  </definition>
  <definition term="--force">
  </definition>
  <definition term="--input-file string">
    path to a JSON file to use as command input
  </definition>
  <definition term="--dry-run">
    validate all inputs and exit without performing any action (preview changes without applying them)
  </definition>
</definitions>


## Global Options

<definitions>
  <definition term="--json">
    output as JSON
  </definition>
</definitions>