# Install fn with Homebrew

Command-line tool for the fn project. Version 0.6.63 via Homebrew; verified 2026-08-03.

## Install

```sh
sudo av install brew:fn
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install fn
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:fn
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/fn>
- **Version:** 0.6.63
- **Source summary:** Command-line tool for the fn project
- **Homepage:** <https://fnproject.io>
- **Repository:** <https://github.com/fnproject/cli>
- **Upstream docs:** <https://fnproject.io>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/fnproject/cli/archive/refs/tags/0.6.63.tar.gz>
- **Last updated:** 2026-08-03T15:14:56Z
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- fn (cli)
- fn (alias)

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 0.6.63
- Package-manager updated: 2026-08-03
- Local data: ok
- Upstream repository: https://github.com/fnproject/cli
- Upstream latest detected: 0.6.63 (current)
## Project history and usage

fn is the command-line client for the Fn Project, an open-source, event-driven Functions-as-a-Service platform. The CLI is used to start local servers, create applications, initialize functions, deploy them, invoke them, manage contexts, and work with Oracle Cloud Infrastructure Functions settings.

### Project history

The Fn CLI repository was created in 2017. Its README links the CLI to the wider Fn Project and directs users to the Fn server quickstart, detailed installation instructions, CLI command reference, tutorials, and docs.

The Fn server README describes Fn as a Docker-native FaaS platform written in Go that can run in public, private, and hybrid cloud environments, supports any language through containers, and can import Lambda functions. Later CLI documentation includes OCI Functions features such as provisioned concurrency, detached invocations, subnet-aware app creation, tags, and pre-built functions.

### Adoption history

The official quickstart centers the CLI as the easiest way to experience Fn: install it with Homebrew or the shell installer, run `fn start`, initialize a function, create an app, deploy, and invoke. The project also maintains documentation, tutorials, Slack/community links, Stack Overflow guidance, and subprojects for Flow, UI, and load balancing.

### How it is used

A typical local workflow is `fn start`, `fn init --runtime go hello`, `fn create app myapp`, `fn deploy --app myapp --local`, and `fn invoke myapp hello`. The CLI docs list command groups for build, config, create, deploy, inspect, invoke, list, start, stop, update, and context management.

### Why package nerds care

fn is significant as a cloud-native CLI that packages local container orchestration, serverless deployment, and provider-specific behavior into one executable. It reflects the late-2010s wave of FaaS tooling where a local developer command had to bridge Docker, remote registries, open-source servers, and managed cloud functions.

### Timeline

- 2017: The Fn CLI repository was created.
- 2018: The Fn Project README advertised regular community planning meetings as upcoming in Q1 2019.
- 2025: The CLI README documented OCI Functions features such as provisioned concurrency, detached mode, tags, and pre-built functions.
- 2026: The CLI repository remained active according to official repository metadata.

### Related projects

- Related official projects include fnproject/fn, fnproject/docs, fnproject/flow, fnproject/ui, fnproject/lb, Oracle Cloud Infrastructure Functions, Docker, and Podman.

### Sources

- <https://api.github.com/repos/fnproject/cli>
- <https://github.com/fnproject/cli>
- <https://github.com/fnproject/fn>
- <https://raw.githubusercontent.com/fnproject/cli/master/README.md>
- <https://raw.githubusercontent.com/fnproject/docs/master/cli/README.md>
- <https://raw.githubusercontent.com/fnproject/fn/master/README.md>


## Security Notes

No matching local secret-handling manifest was found for fn. Package metadata is still published here so future coverage has a stable package URL.



## 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

- Unix: ~/.fn/config.yaml, ~/.fn/contexts/*.yaml, ./func.yaml
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** fn
- **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:** head, stable


## Related links

- [Cloud CLI packages](https://pkg.so/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Terminal utility packages](https://pkg.so/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://pkg.so/brew-utility-packages/) - Matched Homebrew package provider.
- [go](https://pkg.so/brew/go/) - Build dependency declared by Homebrew.
- [colima](https://pkg.so/brew/colima/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, containers.
- [oras](https://pkg.so/brew/oras/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, containers.
- [aws-sam-cli](https://pkg.so/brew/aws-sam-cli/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, serverless.
- [skopeo](https://pkg.so/brew/skopeo/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, containers.
- [container](https://pkg.so/brew/container/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, containers.
- [crane](https://pkg.so/brew/crane/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, containers.
- [skaffold](https://pkg.so/brew/skaffold/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, containers.
- [argo](https://pkg.so/brew/argo/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, containers.
- [kn](https://pkg.so/brew/kn/) - Local package facts share a topical domain. Shared terms: cli, cloud, cloud-infrastructure, command-line, infrastructure.
- [wsk](https://pkg.so/brew/wsk/) - Local package facts share a topical domain. Shared terms: cli, cloud, cloud-infrastructure, command-line, infrastructure.
- [wskdeploy](https://pkg.so/brew/wskdeploy/) - Local package facts share a topical domain. Shared terms: cli, cloud, cloud-infrastructure, infrastructure, project.

## Combined YAML source

View the package source record on GitHub. [combined/fn.yml](https://github.com/mxcl/pkgdb/blob/main/combined/fn.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
