macOS
brew install faas-clilocal Homebrew formula metadata
安装
brew install faas-clilocal Homebrew formula metadata
nix profile install nixpkgs#faas-clinixpkgs package indexes · pkgs/by-name/fa/faas-cli/package.nix · 来源: api.github.com
choco install faas-cliChocolatey community package catalog · faas-cli · 来源: community.chocolatey.org
scoop install main/faas-cliScoop official bucket manifest trees · bucket/faas-cli.json · 来源: api.github.com
概览
CLI for templating and/or deploying FaaS functions
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
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-bearing paths to review before unattended agent runs.
~/.openfaas/config.yml.openfaas/config.yml可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
faas | cli | 全局可执行文件 | |
faas-cli | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/openfaas/faas-cli
安装元数据
| 软件包键 | 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 |
| Pulse | updated |
| 构建依赖 | go |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | faas-cli |
| Aliases |
|
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
faas-cli
nix profile install nixpkgs#faas-clifaas-cli
choco install faas-climain/faas-cli
scoop install main/faas-cli来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.