# 使用 Homebrew, apt, Nix, winget 安装 instaloader

查看 instaloader 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:instaloader
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install instaloader
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install instaloader
```

  证据: Debian stable package indexes: instaloader from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#instaloader
```

  证据: nixpkgs package indexes: pkgs/by-name/in/instaloader/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- winget (92%):

```sh
winget install --id instaloader.instaloader -e
```

  证据: Windows Package Manager source index: instaloader.instaloader from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:instaloader
- **软件包管理器:** Homebrew
- **版本:** 4.15.3
- **来源摘要:** Download media from Instagram
- **主页:** <https://instaloader.github.io/>
- **最后更新:** 2026-07-27T11:05:22Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- instaloader (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 4.15.3
## 项目历史与用法

Instaloader is a Python command-line and library tool for downloading Instagram photos, videos, captions, comments, geotags, stories, feeds, saved media, and related metadata. It is one of the more widely packaged Instagram media archiving tools in Unix-like package managers.

### 项目历史

The GitHub repository was created in 2016, and PyPI records the first published package line in 2016. The official documentation describes Instaloader as free open-source Python software for downloading Instagram media and metadata.

The project evolved from profile downloads into a broader archival tool. The docs list support for public and private profiles, hashtags, stories, highlights, tagged posts, reels, IGTV, feed and saved targets, profile-name-change detection, resumable interrupted downloads, customizable filters, and use as a Python module.

The release stream continued through the 4.x series, with the documentation site linking to tagged releases and PyPI distributing a large release history. This matters because Instagram scraping tools often have to react to platform-side changes and authentication/rate-limit behavior.

### 采用历史

Instaloader's package-manager reach is broad for a Python CLI. The input metadata records Homebrew, Debian, Ubuntu, Nix, and Winget packages, while the official docs recommend pip and also point to AUR, standalone Windows executables, source downloads, pre-release installs, and Termux on Android.

Homebrew packages Instaloader from PyPI, and the formula records notable installation activity. The GitHub repository has a large user-facing footprint for this batch, with thousands of stars and a documentation site aimed at both CLI users and library users.

### 使用方式

The basic documented workflow is instaloader profile, with options for fast incremental updates and timestamp-based archive updates. Login enables private profile, stories, feed, saved, and other authenticated targets, and the docs describe reusable session-cookie storage for non-interactive runs.

The docs also cover post filtering, filename templates, metadata text and JSON files, exit codes, cron-style operation, Python API usage, and troubleshooting for rate limits and login errors, which makes the package more of an archival toolkit than a one-command downloader.

### 为什么软件包爱好者会关心

Instaloader is significant because it sits at the intersection of Python packaging, social-media scraping, local backup workflows, credential/session storage, and fast-moving upstream web behavior. It is also packaged across both language and OS package managers.

For package maintainers, it is a useful example of a CLI whose binary behavior depends on web-service policy, authentication state, rate limits, and user data layout rather than only on local dependencies.

### 时间线

- 2016: GitHub repository created and Instaloader appears on PyPI.
- 2020s: Documentation covers profile, hashtag, story, feed, saved-media, metadata, cron, and Python-module workflows.
- 2024: v4.14 release line published.
- 2026: v4.15.1 release published and packaged by Homebrew.

### Related projects

- Instaloader is related to PyPI, Homebrew, Debian/Ubuntu/Nix/Winget packaging, AUR, Termux, Python web scraping libraries, Instagram archival scripts, and older or alternative tools such as InstaLooter.

### 来源

- <https://formulae.brew.sh/api/formula/instaloader.json>
- <https://github.com/instaloader/instaloader>
- <https://instaloader.github.io/>
- <https://pypi.org/pypi/instaloader/json>


## 安全说明

没有找到 instaloader 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 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.


## Credential files

- Unix: ~/.config/instaloader/session-YOUR-USERNAME
## 其他软件包管理器记录

- Debian apt - instaloader - 4.14.1+ds-1: normalized package name match | Debian stable package indexes: instaloader from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Instagram automatic photo downloader | https://github.com/instaloader/instaloader
- Nix - instaloader: normalized package name match | nixpkgs package indexes: pkgs/by-name/in/instaloader/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - instaloader - 4.10.3+ds-1: normalized package name match | Ubuntu 24.04 LTS package indexes: instaloader from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Instagram automatic photo downloader | https://github.com/instaloader/instaloader
- winget - instaloader.instaloader: normalized package name match | Windows Package Manager source index: instaloader.instaloader from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

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