# surfraw を Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper でインストール

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

## インストール

```sh
sudo av install brew:surfraw
```

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

### macOS

- Homebrew (100%):

```sh
brew install surfraw
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install surfraw
```

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

### Linux

- apk (92%):

```sh
sudo apk add surfraw
```

  証拠: Alpine Linux edge package indexes: surfraw from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install surfraw
```

  証拠: Debian stable package indexes: surfraw from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install surfraw
```

  証拠: Fedora Rawhide package metadata: surfraw from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#surfraw
```

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

- pacman (92%):

```sh
sudo pacman -S surfraw
```

  証拠: Arch Linux sync databases: surfraw from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install surfraw
```

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

## パッケージ情報

- **パッケージキー:** brew:surfraw
- **パッケージマネージャ:** Homebrew
- **バージョン:** 2.3.0
- **ソース概要:** Shell Users' Revolutionary Front Rage Against the Web
- **ホームページ:** <https://gitlab.com/surfraw/Surfraw>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- opensearch-discover (エイリアス)
- opensearch-genquery (エイリアス)
- sr (エイリアス)
- surfraw (エイリアス)
- surfraw-update-path (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

Surfraw is a Unix shell interface for web search engines and site-specific searches. Its culture is deliberately command-line native: searches are exposed as small shell commands called elvi, with the browser treated as an output target rather than the main search UI.

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

The project began in 2000 as Surfaw 0.5.4 and was renamed Surfraw a few days later, according to the upstream NEWS file. By the 2003 Surfraw 2.0 release, a new development team had moved the project to Debian's Alioth infrastructure, added the short `sr` alias, added bookmark support, and reorganized elvi handling.

Surfraw continued to track the changing web by adding, fixing, and removing elvi as public search services appeared, changed interfaces, or disappeared. The 2018 2.3.0 release notes marked a move away from Debian's old platform to GitLab and noted that all elvi had moved to HTTPS.

### 採用の歴史

Surfraw's adoption has been strongest in Unix and package-manager communities rather than as a mass-market application. The input package facts list packages across Homebrew, Debian, Ubuntu, Fedora, Alpine, Arch, Nix, MacPorts, and openSUSE, reflecting a long tail of distro packaging for shell-heavy users.

### 使われ方

Typical use is `sr elviname search terms`, for example invoking an elvis for a web search, package lookup, documentation search, or site search. The README documents `surfraw -elvi` and `sr -elvi` for listing installed elvi, direct elvi use, XDG configuration, private elvi, and bookmark files.

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

Surfraw matters to package nerds because it turns web search targets, package indexes, bug trackers, documentation sites, and archives into composable shell entry points. It is a small expression of a larger Unix preference: keep search, text processing, terminal multiplexers, text browsers, and package metadata close to the command line.

### タイムライン

- 2000: Initial Surfaw 0.5.4 release appears in upstream NEWS.
- 2000: Project renamed from Surfaw to Surfraw.
- 2003: Surfraw 2.0 ships with a new development team, `sr` alias, bookmark support, and expanded elvi.
- 2010: Surfraw 2.2.7 notes more than one hundred elvi.
- 2018: Surfraw 2.3.0 moves future development to GitLab and updates elvi to HTTPS.

### Related projects

- Surfraw is related to text browsers such as links and w3m, terminal multiplexers such as screen, and package/search elvi for Debian, Arch, AUR, documentation, bug trackers, and code search.

### ソース

- <https://gitlab.com/surfraw/Surfraw/-/raw/master/NEWS>
- <https://gitlab.com/surfraw/Surfraw/-/raw/master/README>
- input source_facts.package-manager


## セキュリティノート

generalized runtime or code generation signal.

- **Geiger リスク:** yellow / 中
- generalized runtime or code generation signal


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: /etc/xdg/surfraw/conf, ~/.config/surfraw/conf
## 他のパッケージマネージャ記録

- Debian apt - surfraw - 2.3.0-2: normalized package name match | Debian stable package indexes: surfraw from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | fast unix command line interface to WWW | http://gitlab.com/Surfraw/surfraw
- Debian apt - surfraw-extra - 2.3.0-2: normalized package name match | Debian stable package indexes: surfraw-extra from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | extra surfraw search tools with heavy dependencies | http://gitlab.com/Surfraw/surfraw
- Nix - surfraw: normalized package name match | nixpkgs package indexes: pkgs/by-name/su/surfraw/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - surfraw - 2.3.0-2: normalized package name match | Ubuntu 24.04 LTS package indexes: surfraw from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | fast unix command line interface to WWW | http://gitlab.com/Surfraw/surfraw
- Ubuntu apt - surfraw-extra - 2.3.0-2: normalized package name match | Ubuntu 24.04 LTS package indexes: surfraw-extra from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | extra surfraw search tools with heavy dependencies | http://gitlab.com/Surfraw/surfraw
- apk - surfraw - 2.3.0-r0: normalized package name match | Alpine Linux edge package indexes: surfraw from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Shell Users' Revolutionary Front Rage Against the Web | http://surfraw.org
- apk - surfraw-doc - 2.3.0-r0: normalized package name match | Alpine Linux edge package indexes: surfraw-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Shell Users' Revolutionary Front Rage Against the Web (documentation) | http://surfraw.org
- dnf - surfraw - 2.3.0-18.fc45: normalized package name match | Fedora Rawhide package metadata: surfraw from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Shell Users Revolutionary Front Rage Against the Web | https://gitlab.com/surfraw/Surfraw
- pacman - surfraw - 2.3.0-4: normalized package name match | Arch Linux sync databases: surfraw from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Shell Users' Revolutionary Front Rage Against the Web | https://gitlab.com/surfraw/Surfraw/
- zypper - surfraw - 2.3.0-4.6: normalized package name match | openSUSE Tumbleweed package metadata: surfraw from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Command Line Interface to WWW Search Engines | https://gitlab.com/surfraw/Surfraw
- MacPorts - surfraw: normalized package name match | MacPorts ports tree: net/surfraw/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/surfraw.yml](https://github.com/mxcl/pkgdb/blob/main/combined/surfraw.yml)


## ソース

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