Automic VaultAutomic Vault

brew

使用 Homebrew, chocolatey, Nix, scoop 安装 faas-cli

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

安装

其他安装命令

macOS

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

local Homebrew formula metadata

Linux

Nix已验证 · 92%
nix profile install nixpkgs#faas-cli

nixpkgs package indexes · pkgs/by-name/fa/faas-cli/package.nix · 来源: api.github.com

Windows

Chocolatey已验证 · 92%
choco install faas-cli

Chocolatey community package catalog · faas-cli · 来源: community.chocolatey.org

Scoop已验证 · 92%
scoop install main/faas-cli

Scoop official bucket manifest trees · bucket/faas-cli.json · 来源: api.github.com

概览

软件包摘要

CLI for templating and/or deploying FaaS functions

命令和别名

  • faas
  • faas-cli

历史

项目历史与用法

faas-cli is the official command-line interface for OpenFaaS, used to create, build, push, deploy, invoke, and manage serverless functions.

项目历史

The faas-cli repository was created in April 2017 as the OpenFaaS command-line entry point. The project README describes it as the official CLI for OpenFaaS and explains the original core workflow: write a handler, pick a language template, and let the CLI build a Docker image and deploy the function.

As OpenFaaS matured, faas-cli became the stable user-facing tool around a broader platform. Its command set grew from the basic new, build, push, deploy, remove, and invoke lifecycle into template stores, secrets, registry login, multi-arch publishing, and OpenFaaS Pro authentication flows.

The CLI also reflects OpenFaaS's packaging strategy. Official installation docs support a curl installer, Homebrew, Windows binaries, Chocolatey, Scoop, and direct release downloads, so the same tool fits local demos, CI pipelines, and workstation use.

采用历史

OpenFaaS adoption made faas-cli important because nearly every getting-started path goes through it. The README shows Homebrew installation, a `faas` alias, and commands for creating functions from templates, while the official install docs document cross-platform packaging for macOS, Linux, and Windows.

The CLI's adoption is tied to the OpenFaaS gateway model: developers log in to a gateway, point the CLI at `OPENFAAS_URL` or a gateway flag, then deploy function definitions from YAML. That made it a bridge between local source trees, Docker registries, and Kubernetes or other OpenFaaS providers.

使用方式

Typical use starts with `faas-cli new` to scaffold a function from a language template, then `faas-cli up` as the shorthand for build, push, and deploy. Operators use `faas-cli login`, `secret`, `store`, `invoke`, `remove`, and gateway flags or environment variables to work with local or remote OpenFaaS installations.

The CLI is also a packaging surface for templates. Official docs describe pulling templates from remote Git repositories and using a template store for official, incubator, and community templates, which is why the tool matters beyond simply sending API calls to a gateway.

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

For package people, faas-cli is a clean example of a Go-based cloud CLI distributed through many channels while keeping a curl installer and release binaries as the canonical path. It also carries the familiar package-manager tension noted by its README: Homebrew is updated regularly, but may not always be the newest minor release.

Its command alias matters too. Installing the package gives both `faas-cli` and `faas`, which is the sort of executable naming detail that package formulas, shell completions, and docs all have to keep aligned.

时间线

  • 2017: The faas-cli repository is created as the OpenFaaS CLI.
  • 2020: The CLI includes release entries for list output improvements and gateway/provider serialization updates.
  • 2021: Release entries add registry-login and secrets whitespace handling.
  • 2026: The README continues to document core build, deploy, template, secret, publish, and Pro auth commands.

Related projects

  • OpenFaaS is the serverless platform that faas-cli targets.
  • openfaas/templates provides the default language templates used by `faas-cli new` and `faas-cli template pull`.

安全态势

风险级别:绿色

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.

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.openfaas/config.yml.openfaas/config.yml

可执行文件

已安装的可执行文件

命令类型暴露范围备注
faascli全局可执行文件
faas-clicli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-07-08
管理器版本0.18.10
管理器更新时间2026-06-16
本地数据OK
上游当前
检测到的最新版本0.18.10

https://github.com/openfaas/faas-cli

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:faas-cli
版本0.18.10
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/faas-cli
主页https://www.openfaas.com/
仓库https://github.com/openfaas/faas-cli
上游文档https://docs.openfaas.com/cli/install
许可证MIT
源码归档https://github.com/openfaas/faas-cli/archive/refs/tags/0.18.10.tar.gz
最后更新2026-06-16T21:53:29Z
Pulseupdated
构建依赖go
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

faas-cli

nix profile install nixpkgs#faas-cli
  • normalized package name match
  • 匹配方式:Faas Cli
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/fa/faas-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Chocolatey95%

faas-cli

choco install faas-cli
  • normalized package name match
  • 匹配方式:Faas Cli
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: faas-cli from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='8.6352005','msys2-installer'
Scoop95%

main/faas-cli

scoop install main/faas-cli
  • normalized package name match
  • 匹配方式:Faas Cli
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/faas-cli.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 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
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment