---
id: extract
title: extract
hide_title: true
hide_table_of_contents: true
sidebar_label: extract
description: Extract KEXT(s) from kernelcache
---
## ipsw kernel extract

Extract KEXT(s) from kernelcache

```
ipsw kernel extract <KERNELCACHE> <KEXT> [flags]
```

### Options

```
  -a, --all             Extract all KEXTs
  -e, --arch string     Which architecture to use for fat/universal MachO
      --force           Overwrite existing extracted KEXT(s)
  -h, --help            help for extract
      --imports         Resolve imported symbol names from kernelcache
  -o, --output string   Directory to extract KEXTs to
```

### Options inherited from parent commands

```
      --color           colorize output
      --config string   config file (default is $HOME/.config/ipsw/config.yaml)
      --no-color        disable colorize output
  -V, --verbose         verbose output
```

### SEE ALSO

* [ipsw kernel](/docs/cli/ipsw/kernel)	 - Parse kernelcache

