Builderoom

2026年9月28日

安装

用于 Fn Project 的命令行工具,支持函数初始化、部署、调用及 OCI Functions 配置管理。

Apache-2.0
安装命令(说明)bash
```sh
# MacOS
brew update && brew install fn

# Linux/Unix/MacOS
curl -LSs https://raw.githubusercontent.com/fnproject/cli/master/install | sh
```
最小用法bash
```sh
# 初始化一个 Go 函数
fn init --runtime go hello

# 创建带有预置并发的函数
fn create function <app-name> <function-name> <image> --provisioned-concurrency constant:40

# 监控本地目录并自动部署
fn watch --app <app>
```

评价

你的评分(选填)

发表需要先登录

还没有评价