pkg.soopen package index

brew / rank 1807

Install mlx-lm with Homebrew

Run LLMs with MLX. Version 0.31.3 via Homebrew; verified 2026-06-20.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install mlx-lm

local Homebrew formula metadata

overview

Package summary

Run LLMs with MLX

Commands and aliases

  • mlx_lm
  • mlx_lm.awq
  • mlx_lm.benchmark
  • mlx_lm.cache_prompt
  • mlx_lm.chat
  • mlx_lm.convert
  • mlx_lm.dwq
  • mlx_lm.dynamic_quant
  • mlx_lm.evaluate
  • mlx_lm.fuse
  • mlx_lm.generate
  • mlx_lm.gptq
  • mlx_lm.lora
  • mlx_lm.manage
  • mlx_lm.perplexity
  • mlx_lm.server
  • mlx_lm.share
  • mlx_lm.upload

history

Project history and usage

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.

Project history

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.

How it is used

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.

security posture

Risk level: orange

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

Risk classifier

orange risk · medium confidence · infrastructure

Why

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

Signals

  • metadata:service
  • text:upload,server

Install behavior

  • No Homebrew bottle metadata was recorded.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
mlx_lmexecutableindexed executableDiscovered from the local executable index.
mlx_lm.awqexecutableindexed executableDiscovered from the local executable index.
mlx_lm.benchmarkexecutableindexed executableDiscovered from the local executable index.
mlx_lm.cache_promptexecutableindexed executableDiscovered from the local executable index.
mlx_lm.chatexecutableindexed executableDiscovered from the local executable index.
mlx_lm.convertexecutableindexed executableDiscovered from the local executable index.
mlx_lm.dwqexecutableindexed executableDiscovered from the local executable index.
mlx_lm.dynamic_quantexecutableindexed executableDiscovered from the local executable index.
mlx_lm.evaluateexecutableindexed executableDiscovered from the local executable index.
mlx_lm.fuseexecutableindexed executableDiscovered from the local executable index.
mlx_lm.generateexecutableindexed executableDiscovered from the local executable index.
mlx_lm.gptqexecutableindexed executableDiscovered from the local executable index.
mlx_lm.loraexecutableindexed executableDiscovered from the local executable index.
mlx_lm.manageexecutableindexed executableDiscovered from the local executable index.
mlx_lm.perplexityexecutableindexed executableDiscovered from the local executable index.
mlx_lm.serverexecutableindexed executableDiscovered from the local executable index.
mlx_lm.shareexecutableindexed executableDiscovered from the local executable index.
mlx_lm.uploadexecutableindexed executableDiscovered from the local executable index.

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-08-03
manager version0.31.3
manager updated2026-06-20
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:mlx-lm
Version0.31.3
Package managerHomebrew
Homepagehttps://github.com/ml-explore/mlx-lm
Repositoryhttps://github.com/ml-explore/mlx-lm
Last updated2026-06-20T05:07:43Z
Pulseupdated
Bottlenot recorded
Servicenone declared

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • pkg.so package database
  • pkgdb category and tag curation