# ta-lib を Homebrew, MacPorts, Nix, zypper でインストール

ta-lib のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

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

  証拠: local Homebrew formula metadata

- MacPorts (94%):

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

  証拠: 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
```

  証拠: 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
```

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

## パッケージ情報

- **パッケージキー:** brew:ta-lib
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.7.1
- **ソース概要:** Tools for market analysis
- **ホームページ:** <https://ta-lib.org/>
- **リポジトリ:** <https://github.com/ta-lib/ta-lib>
- **最終更新:** 2026-07-03T18:16:41Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- ta_regtest (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 0.7.1
## プロジェクトの歴史と使われ方

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.

### プロジェクトの歴史

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.

### 採用の歴史

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.

### 使われ方

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.

### パッケージ好きにとっての重要性

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.

### タイムライン

- 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.

### ソース

- <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/>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## 他のパッケージマネージャ記録

- 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)


## ソース

- 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
