Automic VaultAutomic Vault

brew

Install lightgbm with Homebrew, MacPorts, Nix, winget

Fast, distributed, high performance gradient boosting framework. Version 4.6.0 via Homebrew; verified 2026-06-15.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install lightgbm

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install LightGBM

MacPorts ports tree · math/LightGBM/Portfile · source: api.github.com

Linux

Nixverified · 92%
nix profile install nixpkgs#lightgbm

nixpkgs package indexes · pkgs/by-name/li/lightgbm/package.nix · source: api.github.com

Windows

Windows Package Managerverified · 92%
winget install --id Microsoft.LightGBM -e

Windows Package Manager source index · Microsoft.LightGBM · source: cdn.winget.microsoft.com

overview

Package summary

Fast, distributed, high performance gradient boosting framework

Commands and aliases

  • lightgbm

history

Project history and usage

LightGBM, short for Light Gradient Boosting Machine, is a high-performance gradient boosting framework for tree-based learning. It became one of the standard packages for tabular machine learning because it combines fast histogram-based training, low memory use, categorical-feature handling, and parallel or distributed execution.

Project history

The GitHub repository was created on 2016-08-05. The README describes LightGBM as a gradient boosting framework designed for faster training, lower memory usage, better accuracy, parallel and distributed learning, GPU learning, and large-scale data.

The official papers connect the implementation to Microsoft Research work on communication-efficient parallel decision trees in 2016 and the 2017 NIPS paper "LightGBM: A Highly Efficient Gradient Boosting Decision Tree." The paper introduced Gradient-based One-Side Sampling and Exclusive Feature Bundling as key techniques for speeding up GBDT training.

The repository moved from Microsoft/LightGBM to lightgbm-org/LightGBM in March 2026. The maintainers documented the move in issue 7187 and stated that the same maintainers, including the creator of LightGBM, continued managing the official source repository.

Adoption history

The README says LightGBM has been widely used in winning machine-learning competition solutions. Its package footprint spans command-line binaries, Python, R, conda, CRAN, NuGet, Winget, Homebrew, and downstream integrations such as Spark-oriented wrappers and inference converters.

LightGBM's adoption followed a practical need in tabular-data workflows: teams wanted XGBoost-class accuracy with faster training iterations and better memory behavior on large datasets.

How it is used

Users train models from the CLI or language bindings for regression, classification, ranking, and large-scale distributed tasks. Common package-manager use cases include installing the CLI for experiments, installing Python or R bindings for notebooks and pipelines, and installing the library as a dependency of higher-level ML systems.

Why package nerds care

LightGBM is package-nerd significant because it is a research system that became packaging infrastructure: native C++, Python wheels, R packages, GPU builds, distributed modes, and many downstream wrappers all have to agree on the same fast tree learner.

It is also a canonical example of ML packaging complexity, where one upstream project must serve CLI users, language-binding users, GPU users, and distro maintainers without losing performance-sensitive native code paths.

Timeline

  • 2016-08-05: GitHub repository created.
  • 2016: NIPS paper on communication-efficient parallel decision trees published by LightGBM authors.
  • 2017-02-27: Official experiment documentation records the first version of comparison and parallel experiments.
  • 2017: NIPS paper "LightGBM: A Highly Efficient Gradient Boosting Decision Tree" published.
  • 2018: GPU acceleration paper cited by the README.
  • 2020-03-08: Official experiment documentation updated against a then-new master branch.
  • 2022: Quantized training paper cited by the README.
  • 2026-03: Repository moved from Microsoft/LightGBM to lightgbm-org/LightGBM.

Related projects

  • Related projects include XGBoost, scikit-learn integrations, SynapseML, FLAML, Optuna, Treelite, SHAP, ML.NET, ONNX conversion tools, and many language bindings listed by the LightGBM README.

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 6 platform targets.
  • Installs with 1 runtime dependencies.
  • Build metadata lists 1 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
lightgbmcliglobal 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 version4.6.0
manager updated2026-06-15
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/lightgbm-org/LightGBM

install metadata

Package metadata

Package keybrew:lightgbm
Version4.6.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/lightgbm
Homepagehttps://lightgbm.readthedocs.io/en/latest/
Repositoryhttps://github.com/lightgbm-org/LightGBM
Upstream docshttps://lightgbm.readthedocs.io/en/stable
LicenseMIT
Source archivehttps://github.com/lightgbm-org/LightGBM.git
Last updated2026-06-15T10:20:20-04:00
Pulseupdated
Dependencieslibomp
Build dependenciescmake
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namelightgbm
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • 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.

Nix95%

lightgbm

nix profile install nixpkgs#lightgbm
  • normalized package name match
  • Matched by: Lightgbm
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/li/lightgbm/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
MacPorts95%

LightGBM

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

Microsoft.LightGBM

winget install --id Microsoft.LightGBM -e
  • normalized package name match
  • Matched by: Lightgbm
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: Microsoft.LightGBM from https://cdn.winget.microsoft.com/cache/source.msix

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