Automic VaultAutomic Vault

brew

使用 Homebrew 安装 apify-cli

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install apify-cli

local Homebrew formula metadata

概览

软件包摘要

Apify command-line interface

命令和别名

  • actor
  • apify
  • apify-cli

历史

项目历史与用法

Apify CLI is the command-line tool for creating, developing, running, and deploying Apify Actors and for managing Apify cloud resources from a terminal. It turns the Apify platform into a local developer workflow for web scraping, automation, data processing, Actor runs, storage, and account configuration.

项目历史

The public apify/apify-cli repository was created in 2018. The current README and docs describe a CLI for Actor creation, local runs, cloud deployment, datasets, key-value stores, request queues, secrets, builds, and runs.

The documentation has evolved with the Apify platform. Current docs identify versioned CLI documentation, a command reference, a changelog, and an Actor definition format based on .actor/actor.json. Recent changelog entries show active 2025-2026 development, including auth commands, Actor type generation, build and run improvements, .actorignore support, an apify api command, improved AI/human help output, and schema validation changes.

采用历史

Apify distributes the CLI through a recommended macOS/Linux install script, Windows PowerShell install script, npm, and Homebrew. The README also documents npx usage, making it available both as a persistent local binary and as a one-off Node-based command.

The batch input's Homebrew package is one of several distribution channels. That matters because Apify CLI often sits in local project setup, CI deployment, and automation scripts where predictable installation and upgrade behavior are important.

使用方式

The quick-start path is apify login, apify create, apify run, and apify push. The command reference expands this into account authentication, Actor development, Actor management, builds, runs, storage operations, API calls, secrets, telemetry controls, and upgrade checks.

Actor project metadata is stored in .actor/actor.json at the root of the Actor directory. Authentication stores the saved API token in ~/.apify/auth.json according to the command reference, while Actor definitions may reference Dockerfiles, input and output schemas, storage schemas, changelogs, and environment variables.

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

Apify CLI is a good example of a cloud-platform CLI that is also a project-format tool. Package nerds care about its config files, Node runtime requirements, release cadence, shell installers, Homebrew formula, npm package, and command aliases because the same binary is used for local development, cloud deployment, and CI automation.

时间线

  • 2018: Public apify/apify-cli repository created.
  • 2025: 0.21 series added and refined Actor/build/run workflows.
  • 2025: Version 1.1 introduced upgrade and install-command work and breaking CLI behavior changes.
  • 2026: Version 1.3 added auth commands and Actor type generation.
  • 2026: Version 1.4 added .actorignore support and Actor search.
  • 2026: Version 1.5 added apify api and improved help output.
  • 2026: Version 1.6 added schema-generation and validation improvements.

Related projects

  • Apify CLI is closely tied to Apify Actors, Apify SDK, Crawlee, Apify API, Actor definition files, and the Apify platform's datasets, key-value stores, request queues, builds, runs, and secrets.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 1 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

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

Config paths the tool may read or write during local use.

Unix
.actor/actor.json

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.apify/auth.json

可执行文件

已安装的可执行文件

命令类型暴露范围备注
actorcli全局可执行文件
apifycli全局可执行文件
apify-clicli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-08
管理器版本1.7.0
管理器更新时间2026-07-02
本地数据OK
上游not checked
检测到的最新版本未检测到

https://docs.apify.com/cli/

安装元数据

软件包元数据

软件包键brew:apify-cli
版本1.7.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/apify-cli
主页https://docs.apify.com/cli/
仓库https://github.com/apify/apify-cli
上游文档https://docs.apify.com/cli
许可证Apache-2.0
源码归档https://registry.npmjs.org/apify-cli/-/apify-cli-1.7.0.tgz
最后更新2026-07-02T13:49:24Z
Pulseupdated
依赖node
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameapify-cli
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment