# Install ta-lib with Homebrew, MacPorts, Nix, zypper

Tools for market analysis. Version 0.7.1 via Homebrew; verified 2026-07-03. Also installable with nix: nix profile install nixpkgs#ta-lib.

## Install

```sh
sudo av install brew:ta-lib
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install ta-lib
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ta-lib
```

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

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#ta-lib
```

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

- zypper (92%):

```sh
sudo zypper install libta-devel
```

  Evidence: openSUSE Tumbleweed package metadata: libta-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## Package facts

- **Package key:** brew:ta-lib
- **Package manager:** Homebrew
- **Version:** 0.7.1
- **Source summary:** Tools for market analysis
- **Homepage:** <https://ta-lib.org/>
- **Repository:** <https://github.com/ta-lib/ta-lib>
- **Last updated:** 2026-07-03T18:16:41Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- ta_regtest (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 0.7.1
## Project history and usage

TA-Lib is a technical-analysis library for financial-market data, centered on a C/C++ core and used from multiple language ecosystems through wrappers.

### Project history

The official site says TA-Lib was released in 2001 and that its algorithms remained widely used more than 20 years later. The GitHub README says the GitHub repository is now the official home for the C/C++ TA-Lib library, replacing SourceForge as the primary project home.

### Adoption history

The official site presents TA-Lib as open source under a BSD license and usable in open-source or commercial applications. It lists a C/C++ core with APIs or wrappers for Python and R on the current site, while older official positioning and bindings have made TA-Lib a common dependency in trading and data-analysis stacks.

### How it is used

TA-Lib provides indicators such as ADX, MACD, RSI, Stochastic, and Bollinger Bands, plus candlestick-pattern recognition. Package-manager users mostly encounter the Homebrew formula as the native C library needed by higher-level Python, R, and other bindings.

### Why package nerds care

It matters to package maintainers because many language packages expect the native TA-Lib library to be installed first. The upstream FAQ explicitly notes long-lived C/C++ code, stable functions, a stale-release period from 2014 to 2024, and recent packaging automation work.

### Timeline

- 2001: TA-Lib was released.
- 2014-2024: The official FAQ says releases went stale during this period.
- 2016: The TA-Lib/ta-lib GitHub repository was created.
- 2024: The official FAQ says work started to automate packaging with GitHub Actions.
- 2025: GitHub releases show v0.6.4 published on 2025-01-11.

### Related projects

- Official documentation points to the C/C++ core, Python and R wrappers, ta-lib-python, pandas-ta, and a proposal-drafts repository for new TA functions.

### Sources

- <https://api.github.com/repos/TA-Lib/ta-lib>
- <https://api.github.com/repos/TA-Lib/ta-lib/releases>
- <https://github.com/TA-Lib/ta-lib#readme>
- <https://ta-lib.org/>
- <https://ta-lib.org/faq/>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Other Package-Manager Records

- Nix - ta-lib: normalized package name match | nixpkgs package indexes: pkgs/by-name/ta/ta-lib/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- zypper - libta-devel - 0.4.0-1.19: normalized package name match | openSUSE Tumbleweed package metadata: libta-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Technical Analysis Library | https://ta-lib.org/
- zypper - libta_lib0 - 0.4.0-1.19: normalized package name match | openSUSE Tumbleweed package metadata: libta_lib0 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Technical Analysis Library | https://ta-lib.org/
- MacPorts - ta-lib: normalized package name match | MacPorts ports tree: finance/ta-lib/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

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


## Sources

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