# Install internetarchive with Homebrew, apt, MacPorts, Nix

Python wrapper for the various Internet Archive APIs. Version 5.10.1 via Homebrew; verified 2026-07-01.

## Install

```sh
sudo av install brew:internetarchive
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install internetarchive
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install internetarchive
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install internetarchive
```

  Evidence: Debian stable package indexes: internetarchive from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#internetarchive
```

  Evidence: nixpkgs package indexes: internetarchive from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

## Package facts

- **Package key:** brew:internetarchive
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/internetarchive>
- **Version:** 5.10.1
- **Source summary:** Python wrapper for the various Internet Archive APIs
- **Homepage:** <https://github.com/jjjake/internetarchive>
- **Repository:** <https://github.com/jjjake/internetarchive>
- **Upstream docs:** <https://archive.org/services/docs/api/internetarchive>
- **License:** AGPL-3.0-or-later
- **Source archive:** <https://files.pythonhosted.org/packages/b0/95/5d830762f4519bb932401953d4735697a196a48159d2be30c88343023244/internetarchive-5.10.1.tar.gz>
- **Last updated:** 2026-07-01T00:52:09Z
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- ia (cli)
- ia (alias)

## Dependencies

- certifi
- python@3.14

## Install behavior

- Post-install hook: not defined
- Bottle: available on all

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 5.10.1
- Package-manager updated: 2026-07-01
- Local data: ok
- Upstream repository: https://github.com/jjjake/internetarchive
- info: No cached GitHub release or tag data was available.
## Project history and usage

`internetarchive` is the official-ish Python library and `ia` command-line client for working with archive.org services. It gives archivists, librarians, researchers, and automation-heavy users a scriptable interface for search, download, upload, metadata changes, and other Archive workflows that are awkward to repeat through the website.

### Project history

The GitHub repository was created in August 2012. Internet Archive's own 2019 blog history says the client started in 2012 and was overseen primarily by Archive employee Jake Johnson, with the `internetarchive` client serving both as a library set and as a command-line program for broad Archive interactions.

The package reached a 1.0 release in 2016 after a series of 0.9 releases. Later work continued through PyPI, GitHub releases, binary `ia` downloads, and documentation under the Internet Archive developer portal. The README also records a security-driven maintenance path, including explicit upgrade guidance for versions affected by a directory traversal vulnerability.

### Adoption history

The tool became the practical automation client for Archive users because it is maintained alongside Archive APIs and documented in the Archive developer portal. It is distributed through PyPI/pipx and downloadable binaries, while third-party package managers such as Homebrew, Debian, Ubuntu, MacPorts, and Nix also package it. The upstream README warns that third-party package-manager builds may lag behind supported install methods, which is itself a useful adoption signal: people want it in system package managers even when upstream prefers Python-native distribution.

### How it is used

The official CLI docs describe `ia` as installed with the Python module or available as a binary, then used to interact with archive.org services from the command line. Common workflows include configuring Archive credentials, searching, downloading, uploading, modifying metadata, and scripting bulk operations.

### Why package nerds care

`internetarchive` is one of the more consequential packages in this batch because it is infrastructure for digital preservation work. For package nerds, it is a case study in the tension between Python packaging, standalone binaries, official service tooling, and distro/Homebrew lag: the same command is both an API client and an operational tool for a public digital library.

### Timeline

- 2012: The repository was created and the Internet Archive client effort began.
- 2013: Early PyPI releases in the 0.2 series established public Python packaging.
- 2016: The project published its 1.0.0 release on GitHub.
- 2019: Internet Archive published a history and usage post for the `ia` client.
- 2026: The 5.x line continued with PyPI and Homebrew packaging metadata.

### Related projects

- The package connects directly to Archive.org APIs, including metadata and item services documented in the developer portal. It also overlaps with `ia` binary distribution, Python API clients, and preservation workflows used by Archive-adjacent communities.

### Sources

- Official GitHub README, Internet Archive developer documentation, Internet Archive blog history, GitHub release metadata, PyPI metadata, and Homebrew formula metadata.


## Security Notes

No matching local secret-handling manifest was found for internetarchive. Nucleus package metadata is still published here so future coverage has a stable package URL.



## 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: $XDG_CONFIG_HOME/internetarchive/ia.ini, ~/.config/internetarchive/ia.ini, ~/.config/ia.ini, ~/.ia
- Windows: C:\Users\<username>\.config\internetarchive\ia.ini

## Credential files

- Unix: $XDG_CONFIG_HOME/internetarchive/ia.ini, ~/.config/internetarchive/ia.ini, ~/.config/ia.ini, ~/.ia
- Windows: C:\Users\<username>\.config\internetarchive\ia.ini
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** internetarchive
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Debian apt - internetarchive - 5.4.0-2~deb13u1: normalized package name match | Debian stable package indexes: internetarchive from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | commandline interface to archive.org | https://github.com/jjjake/internetarchive
- Nix - internetarchive: normalized package name match | nixpkgs package indexes: internetarchive from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - internetarchive - 3.5.0-1: normalized package name match | Ubuntu 24.04 LTS package indexes: internetarchive from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | commandline interface to archive.org | https://github.com/jjjake/internetarchive
- MacPorts - internetarchive: normalized package name match | MacPorts ports tree: python/internetarchive/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [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.
- [Archive and compression packages](https://www.automicvault.com/pkg/archive-compression-tools/) - Matched archive or compression metadata.
- [python@3.14](https://www.automicvault.com/pkg/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [goolabs](https://www.automicvault.com/pkg/brew/goolabs/) - Shares av.db curated category or tags: api-client, cli, developer-tools, python.
- [posting](https://www.automicvault.com/pkg/brew/posting/) - Shares av.db curated category or tags: api-client, cli, developer-tools, python.
- [bruno-cli](https://www.automicvault.com/pkg/brew/bruno-cli/) - Shares av.db curated category or tags: api-client, cli, developer-tools.
- [chiko](https://www.automicvault.com/pkg/brew/chiko/) - Shares av.db curated category or tags: api-client, cli, developer-tools.
- [cobo-cli](https://www.automicvault.com/pkg/brew/cobo-cli/) - Shares av.db curated category or tags: api-client, cli, developer-tools.
- [evans](https://www.automicvault.com/pkg/brew/evans/) - Shares av.db curated category or tags: api-client, cli, developer-tools.
- [flickcurl](https://www.automicvault.com/pkg/brew/flickcurl/) - Shares av.db curated category or tags: api-client, cli, developer-tools.
- [gitlab-gem](https://www.automicvault.com/pkg/brew/gitlab-gem/) - Shares av.db curated category or tags: api-client, cli, developer-tools.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- 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
