September 28, 2026
Command-line tool for Fn Project, supporting function initialization, deployment, invocation, and OCI Functions configuration management.
Apache-2.0
```sh
# MacOS
brew update && brew install fn
# Linux/Unix/MacOS
curl -LSs https://raw.githubusercontent.com/fnproject/cli/master/install | sh
``````sh
# 初始化一个 Go 函数
fn init --runtime go hello
# 创建带有预置并发的函数
fn create function <app-name> <function-name> <image> --provisioned-concurrency constant:40
# 监控本地目录并自动部署
fn watch --app <app>
```Reviews
No reviews yet
The product content on this page was translated by AI from the author's original.
