# terrascan を Homebrew, MacPorts, Nix, scoop でインストール

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

## インストール

```sh
sudo av install brew:terrascan
```

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

### macOS

- Homebrew (100%):

```sh
brew install terrascan
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install terrascan
```

  証拠: MacPorts ports tree: sysutils/terrascan/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#terrascan
```

  証拠: nixpkgs package indexes: pkgs/by-name/te/terrascan/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- Scoop (92%):

```sh
scoop install main/terrascan
```

  証拠: Scoop official bucket manifest trees: bucket/terrascan.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:terrascan
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.19.9
- **ソース概要:** Detect compliance and security violations across Infrastructure as Code
- **ホームページ:** <https://runterrascan.io/>
- **リポジトリ:** <https://github.com/tenable/terrascan>
- **最終更新:** 2026-07-26T00:50:37+02:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- terrascan (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

Terrascan is an open-source static analyzer for Infrastructure as Code that checks cloud and Kubernetes configuration before deployment. Its official README describes scanning for misconfigurations, posture drift, security vulnerabilities, and compliance violations, with local CLI and CI/CD integration workflows.

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

The project originated under Accurics and later moved under Tenable ownership, as reflected by changelog links that compare older releases under github.com/accurics/terrascan and later releases under github.com/tenable/terrascan. The current official repository is archived and states that it is no longer maintained.

### 採用の歴史

Terrascan became a package-manager-friendly IaC security tool because it distributed native release binaries, Docker images, and package recipes. The README documents Homebrew installation, AUR installation, and Docker usage, while the input metadata also lists MacPorts, Nix, and Scoop packages.

### 使われ方

In the package-nerd niche, Terrascan was used as a local scanner in developer workstations and CI jobs before Terraform, Kubernetes, Helm, Kustomize, CloudFormation, ARM, Dockerfile, or GitHub infrastructure changes were applied. Its value was the ability to run policy checks from a normal shell command without adopting a hosted platform first.

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

Terrascan is significant as part of the early wave of IaC security CLIs that package managers made easy to slot into pre-commit hooks, CI images, and ephemeral developer machines. Its archived status is now part of its history: packages may remain useful for reproducing older pipelines, but new deployments need to account for maintenance risk.

### タイムライン

- 2020: v1.1.0 appears in the official changelog on September 16, 2020.
- 2021-2022: Changelog links show releases under the Accurics repository path.
- 2022: Later changelog entries move to the Tenable repository path.
- 2023: v1.18.3 appears in the official changelog on August 3, 2023.
- 2024: GitHub page lists v1.19.9 as latest release on September 18, 2024.
- 2026: Official repository is archived and marked no longer maintained.

### Related projects

- Terrascan sits in the same IaC and cloud-security package niche as Terraform policy scanners, Kubernetes manifest linters, and CI security gates.

### ソース

- <https://github.com/tenable/terrascan official README, archive notice, installation notes, and feature list.>
- <https://raw.githubusercontent.com/tenable/terrascan/master/CHANGELOG.md official changelog showing Accurics-to-Tenable release history.>
- source_facts.package-manager lists brew, macports, nix, and scoop packaging.


## セキュリティノート

infrastructure mutation or orchestration signal.

- **Geiger リスク:** orange / 中
- infrastructure mutation or orchestration signal

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

- Nix - terrascan: normalized package name match | nixpkgs package indexes: pkgs/by-name/te/terrascan/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - terrascan: normalized package name match | MacPorts ports tree: sysutils/terrascan/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/terrascan: normalized package name match | Scoop official bucket manifest trees: bucket/terrascan.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/terrascan.yml](https://github.com/mxcl/pkgdb/blob/main/combined/terrascan.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
