# Install lightgbm

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

## Install

```sh
sudo av install brew:lightgbm
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install lightgbm
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install LightGBM
```

  Evidence: MacPorts ports tree: math/LightGBM/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#lightgbm
```

  Evidence: nixpkgs package indexes: pkgs/by-name/li/lightgbm/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- winget (92%):

```sh
winget install --id Microsoft.LightGBM -e
```

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

## Package Facts

- **Package key:** brew:lightgbm
- **Package manager:** Homebrew
- **Package manager URL:** <https://formulae.brew.sh/formula/lightgbm>
- **Version:** 4.6.0
- **Source summary:** Fast, distributed, high performance gradient boosting framework
- **Homepage:** <https://github.com/lightgbm-org/LightGBM>
- **Repository:** <https://github.com/lightgbm-org/LightGBM>
- **Upstream docs:** <https://lightgbm.readthedocs.io/en/stable>
- **License:** MIT
- **Source archive:** <https://github.com/lightgbm-org/LightGBM.git>
- **Last updated:** 2026-03-15T18:33:49Z
- **Generated:** 2026-06-10T07:18:26+00:00

## Executables

- lightgbm (cli)
- lightgbm (alias)

## Dependencies

- libomp

## Build Dependencies

- cmake

## 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: 4.6.0
- Package-manager updated: 2026-03-15
- Local data status: ok
- Upstream repository: https://github.com/lightgbm-org/LightGBM
- info: No cached GitHub release or tag data was available.

## 安全说明

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:** lightgbm
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Nix - lightgbm: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/lightgbm/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - LightGBM: normalized package name match | MacPorts ports tree: math/LightGBM/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- winget - Microsoft.LightGBM: normalized package name match | Windows Package Manager source index: Microsoft.LightGBM from https://cdn.winget.microsoft.com/cache/source.msix


## Related Links

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [cmake](https://www.automicvault.com/zh-hans/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [ncnn](https://www.automicvault.com/zh-hans/pkg/brew/ncnn/) - Shares av.db curated category or tags: cli, data, machine-learning.
- [djl-serving](https://www.automicvault.com/zh-hans/pkg/brew/djl-serving/) - Shares av.db curated category or tags: cli, data, machine-learning.
- [vowpal-wabbit](https://www.automicvault.com/zh-hans/pkg/brew/vowpal-wabbit/) - Shares av.db curated category or tags: cli, data, machine-learning.
- [mallet](https://www.automicvault.com/zh-hans/pkg/brew/mallet/) - Shares av.db curated category or tags: cli, data, machine-learning.
- [classifier](https://www.automicvault.com/zh-hans/pkg/brew/classifier/) - Shares av.db curated category or tags: cli, data, machine-learning.
- [rgf](https://www.automicvault.com/zh-hans/pkg/brew/rgf/) - Shares av.db curated category or tags: cli, data, machine-learning.
- [sentencepiece](https://www.automicvault.com/zh-hans/pkg/brew/sentencepiece/) - Shares av.db curated category or tags: cli, data, machine-learning.
- [mitie](https://www.automicvault.com/zh-hans/pkg/brew/mitie/) - Shares av.db curated category or tags: cli, data, machine-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
