﻿---
title: stack kb elastic-package-manager-epm get-fleet-epm-packages-installed cli command
description: Get installed 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/get-fleet-epm-packages-installed
applies_to:
  - Elastic Cloud Serverless: Preview
  - Elastic Stack: Preview
---

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

```bash
elastic stack kb elastic-package-manager-epm get-fleet-epm-packages-installed \
  [options]
```

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

## Options

<definitions>
  <definition term="--data-stream-type enum">
    Filter by data stream type
    **Values:** logs, metrics, traces, synthetics, profiles
  </definition>
  <definition term="--show-only-active-data-streams">
    When true, only return packages with active data streams
  </definition>
  <definition term="--name-query string">
    Filter packages by name
  </definition>
  <definition term="--search-after string[]">
    Sort values from the previous page for `search_after` pagination
    **Repeatable:** pass `--search-after` multiple times to supply more than one value
  </definition>
  <definition term="--per-page number">
    Number of results per page
  </definition>
  <definition term="--sort-order enum">
    Sort order, ascending or descending
    **Values:** asc, desc
  </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>