# mlx-lm mit Homebrew installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für mlx-lm in AI-Agent-Workflows.

## Installation

```sh
sudo av install brew:mlx-lm
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install mlx-lm
```

  Evidenz: local Homebrew formula metadata

## Paketfakten

- **Paketschlüssel:** brew:mlx-lm
- **Paketmanager:** Homebrew
- **Paketmanager-Seite:** <https://formulae.brew.sh/formula/mlx-lm>
- **Version:** 0.31.3
- **Quellzusammenfassung:** Run LLMs with MLX
- **Homepage:** <https://github.com/ml-explore/mlx-lm>
- **Repository:** <https://github.com/ml-explore/mlx-lm>
- **Lizenz:** MIT
- **Quellarchiv:** <https://files.pythonhosted.org/packages/84/94/9a38d6b0c6fcca995b9136c94eb7da1e9c5165652edf228b96b29960fa7a/mlx_lm-0.31.3.tar.gz>
- **Zuletzt aktualisiert:** 2026-06-20T05:07:43Z
- **Generiert:** 2026-08-04T22:13:35+00:00

## Executables

- mlx_lm (cli)
- mlx_lm.awq (cli)
- mlx_lm.benchmark (cli)
- mlx_lm.cache_prompt (cli)
- mlx_lm.chat (cli)
- mlx_lm.convert (cli)
- mlx_lm.dwq (cli)
- mlx_lm.dynamic_quant (cli)
- mlx_lm.evaluate (cli)
- mlx_lm.fuse (cli)
- mlx_lm.generate (cli)
- mlx_lm.gptq (cli)
- mlx_lm.lora (cli)
- mlx_lm.manage (cli)
- mlx_lm.perplexity (cli)
- mlx_lm.server (cli)
- mlx_lm.share (cli)
- mlx_lm.upload (cli)
- mlx_lm (Alias)
- mlx_lm.awq (Alias)
- mlx_lm.benchmark (Alias)
- mlx_lm.cache_prompt (Alias)
- mlx_lm.chat (Alias)
- mlx_lm.convert (Alias)
- mlx_lm.dwq (Alias)
- mlx_lm.dynamic_quant (Alias)
- mlx_lm.evaluate (Alias)
- mlx_lm.fuse (Alias)
- mlx_lm.generate (Alias)
- mlx_lm.gptq (Alias)
- mlx_lm.lora (Alias)
- mlx_lm.manage (Alias)
- mlx_lm.perplexity (Alias)
- mlx_lm.server (Alias)
- mlx_lm.share (Alias)
- mlx_lm.upload (Alias)

## Abhängigkeiten

- certifi
- libyaml
- mlx
- numpy
- protobuf
- python@3.14
- sentencepiece

## Build-Abhängigkeiten

- pkgconf
- rust

## Installationsverhalten

- Post-install-Hook: nicht definiert
- Dienst: declared
- Bottle: verfügbar auf arm64_sequoia, arm64_sonoma, arm64_tahoe

## Version und Aktualität

- Seite generiert: 2026-08-04
- Manager-Version: 0.31.3
- Manager aktualisiert: 2026-06-20
- lokale Daten: OK
- Upstream-Repository: https://github.com/ml-explore/mlx-lm
- Info: No cached GitHub release or tag data was available.
## Projektgeschichte und Nutzung

MLX LM is the language-model layer built on top of Apple's MLX array framework. The upstream project describes it as a Python package for generating text and fine-tuning large language models on Apple silicon with MLX. It packages common local-LLM workflows into command-line tools and Python APIs: generation, chat, model conversion, quantization, LoRA and full fine-tuning, benchmarking, prompt caching, upload/share flows, and a local server.

### Projektgeschichte

Its ecosystem role is to make MLX usable for Hugging Face-style LLM work without each user wiring model loading, tokenization, generation loops, quantization, and fine-tuning scripts by hand. The README highlights Hugging Face Hub integration, quantizing and uploading models, low-rank and full fine-tuning with quantized models, and distributed inference and fine-tuning through MLX distributed support. The MLX examples repository points users from earlier LLM examples to MLX LM as the more fully featured package.

### Wie es verwendet wird

Adoption is tied to the Apple-silicon local-model community. The MLX Community organization on Hugging Face hosts ready-to-use model weights for MLX LM and related MLX projects, and Apple's WWDC material presents MLX LM as the package for running and fine-tuning large language models on Macs. In Homebrew it is a convenience package for users who want the MLX LLM command suite installed as normal CLI tools rather than only through Python packaging.

### Quellen

- <https://developer.apple.com/videos/play/wwdc2025/298/>
- <https://formulae.brew.sh/formula/mlx-lm>
- <https://github.com/ml-explore/mlx-examples/blob/main/llms/README.md>
- <https://github.com/ml-explore/mlx-lm>
- <https://huggingface.co/mlx-community>


## Sicherheitshinweise

broad file, network, media, or database tool signal. formula declares a Homebrew service.

- **Geiger-Risiko:** orange / mittel
- broad file, network, media, or database tool signal
- formula declares a Homebrew service

## Details aus der Quelldatenbank

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


## Verwandte Links

- [Source-control packages](https://pkg.so/de/source-control-tools/) - Belongs to a source-control command family.
- [MCP tool packages](https://pkg.so/de/mcp-tools/) - Mentions MCP or Model Context Protocol.
- [Secret-risk packages](https://pkg.so/de/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [AI and agent packages](https://pkg.so/de/ai-agent-tools/) - Matched AI model, agent, coding-agent, orchestration, or MCP metadata.
- [python@3.14](https://pkg.so/de/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [protobuf](https://pkg.so/de/brew/protobuf/) - Runtime dependency declared by Homebrew.
- [numpy](https://pkg.so/de/brew/numpy/) - Runtime dependency declared by Homebrew.
- [mlx](https://pkg.so/de/brew/mlx/) - Runtime dependency declared by Homebrew.
- [sentencepiece](https://pkg.so/de/brew/sentencepiece/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/de/brew/pkgconf/) - Build dependency declared by Homebrew.
- [rust](https://pkg.so/de/brew/rust/) - Build dependency declared by Homebrew.
- [llama.cpp](https://pkg.so/de/brew/llama-cpp/) - Shares pkgdb curated category or tags: ai, cli, machine-learning, model-tools.
- [llm](https://pkg.so/de/brew/llm/) - Shares pkgdb curated category or tags: ai, cli, large-language-models, model-tools.
- [ramalama](https://pkg.so/de/brew/ramalama/) - Shares pkgdb curated category or tags: ai, cli, inference, model-tools.
- [localai](https://pkg.so/de/brew/localai/) - Shares pkgdb curated category or tags: ai, cli, inference, model-tools.
- [rapid-mlx](https://pkg.so/de/brew/rapid-mlx/) - Shares pkgdb curated category or tags: ai, cli, mlx, model-tools.
- [djl-serving](https://pkg.so/de/brew/djl-serving/) - Shares pkgdb curated category or tags: ai, cli, inference, machine-learning, model-serving.
- [ollama](https://pkg.so/de/brew/ollama/) - Shares pkgdb curated category or tags: ai, cli, model-tools.
- [llmfit](https://pkg.so/de/brew/llmfit/) - Shares pkgdb curated category or tags: ai, cli, model-tools.
- [oterm](https://pkg.so/de/brew/oterm/) - Both packages touch the same language runtime or ecosystem. Shared terms: ai, certifi, chat, cli, libyaml.
- [pocket-tts](https://pkg.so/de/brew/pocket-tts/) - Both packages touch the same language runtime or ecosystem. Shared terms: ai, certifi, cli, learning, libyaml.

## Combined YAML source

View the package source record on GitHub. [combined/mlx-lm.yml](https://github.com/mxcl/pkgdb/blob/main/combined/mlx-lm.yml)


## Quellen

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
