Automic VaultAutomic Vault

brew

Install mlx with Homebrew, MacPorts

Array framework for Apple silicon. Version 0.31.2 via Homebrew; verified 2026-06-25.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install mlx

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install mlx

MacPorts ports tree · llm/mlx/Portfile · source: api.github.com

overview

Package summary

Array framework for Apple silicon

Commands and aliases

  • mlx.distributed_config
  • mlx.launch

history

Project history and usage

MLX is Apple's open source array framework for machine learning on Apple silicon. The project is published under the ml-explore organization and is described by Apple and the upstream README as an array framework optimized for Apple silicon and its unified memory architecture. The MLX examples citation credits the initial software suite to Awni Hannun, Jagrit Digani, Angelos Katharopoulos, and Ronan Collobert, with a 2023 citation entry.

Project history

Technically, MLX sits in the NumPy, PyTorch, JAX, and ArrayFire family rather than being only a model runner. Its README emphasizes familiar NumPy-like APIs, C, C++, and Swift bindings, PyTorch-like higher-level neural-network and optimizer packages, composable transformations for automatic differentiation and vectorization, lazy computation, dynamic graph construction, CPU/GPU execution, and unified memory so arrays can be operated on across supported devices without explicit transfers.

How it is used

The framework quickly became the base layer for a cluster of Apple-silicon ML tools: MLX LM for language models, MLX examples for reference implementations across text, image, audio, video, and multimodal models, and community-converted model weights on Hugging Face. LM Studio also shipped an MLX engine for on-device LLM use on Apple-silicon Macs. In package managers, the `mlx` package is the foundation dependency; users install higher-level packages such as `mlx-lm` when they want complete model workflows.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 3 platform targets.
  • Installs with 1 runtime dependencies.
  • Build metadata lists 6 build dependencies.

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.distributed_configcliglobal executable
mlx.launchcliglobal executable

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-07-08
manager version0.31.2
manager updated2026-06-25
local dataok
upstreamcurrent
latest detectedv0.31.2

https://github.com/ml-explore/mlx

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:mlx
Version0.31.2
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/mlx
Homepagehttps://ml-explore.github.io/mlx/build/html/index.html
Repositoryhttps://github.com/ml-explore/mlx
Upstream docshttps://ml-explore.github.io/mlx/build/html/index.html
LicenseMIT AND Apache-2.0
Source archivehttps://github.com/ml-explore/mlx/archive/refs/tags/v0.31.2.tar.gz
Last updated2026-06-25T13:37:55+02:00
Pulseupdated
Dependenciespython@3.14
Build dependenciescmake, fmt, nanobind, nlohmann-json, python-setuptools, robin-map
Bottleavailable (on arm64_sequoia, arm64_sonoma, arm64_tahoe)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namemlx
Version Scheme0
Revision0
Head VersionHEAD
Requirements
  • arch
  • macos
  • xcode
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

MacPorts95%

mlx

sudo port install mlx
  • normalized package name match
  • Matched by: Mlx
MacPorts ports tree · api.github.com · MacPorts ports tree: llm/mlx/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

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
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment