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

Tools for market analysis. Version 0.7.1 via Homebrew; verified 2026-07-03.

## 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/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:ta-lib
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/ta-lib>
- **Version:** 0.7.1
- **Source summary:** Tools for market analysis
- **Homepage:** <https://ta-lib.org/>
- **Repository:** <https://github.com/ta-lib/ta-lib>
- **Upstream docs:** <https://ta-lib.org/>
- **License:** BSD-3-Clause
- **Source archive:** <https://github.com/ta-lib/ta-lib/releases/download/v0.7.1/ta-lib-0.7.1-src.tar.gz>
- **Last updated:** 2026-07-03T18:16:41Z
- **Generated:** 2026-07-09T07:20:21+00:00

## Executables

- ta_regtest (cli)
- ta_regtest (alias)

## Build dependencies

- autoconf
- automake
- libtool

## 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-07-09
- Package-manager version: 0.7.1
- Package-manager updated: 2026-07-03
- Local data: ok
- Upstream repository: https://github.com/ta-lib/ta-lib
- info: No cached GitHub release or tag data was available.
## 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

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** ta-lib
- **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 - 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.17: normalized package name match | openSUSE Tumbleweed package metadata: libta-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Technical Analysis Library | https://ta-lib.org/
- zypper - libta_lib0 - 0.4.0-1.17: normalized package name match | openSUSE Tumbleweed package metadata: libta_lib0 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-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


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Database and data packages](https://www.automicvault.com/pkg/database-data-tools/) - Matched database, SQL, migration, or data-store metadata.
- [autoconf](https://www.automicvault.com/pkg/brew/autoconf/) - Build dependency declared by Homebrew.
- [automake](https://www.automicvault.com/pkg/brew/automake/) - Build dependency declared by Homebrew.
- [libtool](https://www.automicvault.com/pkg/brew/libtool/) - Build dependency declared by Homebrew.
- [mdz](https://www.automicvault.com/pkg/brew/mdz/) - Shares av.db curated category or tags: cli, data, finance.
- [aqbanking](https://www.automicvault.com/pkg/brew/aqbanking/) - Shares av.db curated category or tags: cli, data, finance.
- [fred](https://www.automicvault.com/pkg/brew/fred/) - Shares av.db curated category or tags: cli, data, finance.
- [heatshrink](https://www.automicvault.com/pkg/brew/heatshrink/) - Shares av.db curated category or tags: c-library, cli, data.
- [libgeotiff](https://www.automicvault.com/pkg/brew/libgeotiff/) - Shares av.db curated category or tags: c-library, cli, data.
- [libgetdata](https://www.automicvault.com/pkg/brew/libgetdata/) - Shares av.db curated category or tags: c-library, cli, data.
- [liborigin](https://www.automicvault.com/pkg/brew/liborigin/) - Shares av.db curated category or tags: c-library, cli, data.
- [libxls](https://www.automicvault.com/pkg/brew/libxls/) - Shares av.db curated category or tags: c-library, cli, data.
- [yahoo-finance2](https://www.automicvault.com/pkg/npm/yahoo-finance2/) - Local package facts share a topical domain. Shared terms: cli, data, finance, market.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
