# Install magika

Fast and accurate AI powered file content types detection. Version 1.0.2 via Homebrew; verified 2026-04-25.

## Install

```sh
sudo av install brew:magika
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install magika
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add magika
```

  Evidence: Alpine Linux edge package indexes: magika from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#magika
```

  Evidence: nixpkgs package indexes: magika from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

### Windows

- winget (92%):

```sh
winget install --id Google.Magika -e
```

  Evidence: Windows Package Manager source index: Google.Magika from https://cdn.winget.microsoft.com/cache/source.msix

## Package Facts

- **Package key:** brew:magika
- **Package manager:** Homebrew
- **Package manager URL:** <https://formulae.brew.sh/formula/magika>
- **Version:** 1.0.2
- **Source summary:** Fast and accurate AI powered file content types detection
- **Homepage:** <https://securityresearch.google/magika/>
- **Repository:** <https://github.com/google/magika>
- **Upstream docs:** <https://securityresearch.google/magika>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/google/magika/archive/refs/tags/cli/v1.0.2.tar.gz>
- **Last updated:** 2026-04-25T12:16:15-07:00
- **Generated:** 2026-06-10T07:18:26+00:00

## Executables

- magika (cli)
- magika (alias)

## Dependencies

- openssl@3

## Build Dependencies

- pkgconf
- rust

## Install Behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-06-10
- Package-manager version: 1.0.2
- Package-manager updated: 2026-04-25
- Local data status: ok
- Upstream repository: https://github.com/google/magika
- Upstream latest detected: cli/v1.0.2 (current)

## Notes de sécurité

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** magika
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Nix - magika: normalized package name match | nixpkgs package indexes: magika from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- apk - magika - 1.0.2-r0: normalized package name match | Alpine Linux edge package indexes: magika from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Detect file content types with deep learning | https://github.com/google/magika
- winget - Google.Magika: normalized package name match | Windows Package Manager source index: Google.Magika from https://cdn.winget.microsoft.com/cache/source.msix


## Related Links

- [Terminal utility packages](https://www.automicvault.com/fr/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/fr/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/fr/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/fr/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [openssl@3](https://www.automicvault.com/fr/pkg/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/fr/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [rust](https://www.automicvault.com/fr/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [pytorch](https://www.automicvault.com/fr/pkg/brew/pytorch/) - Shares av.db curated category or tags: cli, deep-learning, developer-tools, machine-learning.
- [fits](https://www.automicvault.com/fr/pkg/brew/fits/) - Shares av.db curated category or tags: cli, developer-tools, file-analysis.
- [llama.cpp](https://www.automicvault.com/fr/pkg/brew/llama-cpp/) - Shares av.db curated category or tags: cli, developer-tools, machine-learning.
- [mlx](https://www.automicvault.com/fr/pkg/brew/mlx/) - Shares av.db curated category or tags: cli, developer-tools, machine-learning.
- [hf](https://www.automicvault.com/fr/pkg/brew/hf/) - Shares av.db curated category or tags: cli, developer-tools, machine-learning.
- [dvc](https://www.automicvault.com/fr/pkg/brew/dvc/) - Shares av.db curated category or tags: cli, developer-tools, machine-learning.
- [mlx-lm](https://www.automicvault.com/fr/pkg/brew/mlx-lm/) - Shares av.db curated category or tags: cli, developer-tools, machine-learning.
- [oxen](https://www.automicvault.com/fr/pkg/brew/oxen/) - Shares av.db curated category or tags: cli, developer-tools, machine-learning.
- [text-embeddings-inference](https://www.automicvault.com/fr/pkg/brew/text-embeddings-inference/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, fast, learning.

## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
