pkg.soopen package index

brew / rank 4575

Install cloudfoundry-cli with Homebrew, apk, chocolatey, Nix, scoop

Official command-line client for Cloud Foundry. Version 8.18.4 via Homebrew; verified 2026-07-27. Also installable with nix: nix profile install nixpkgs#cloudfoundry-cli.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install cloudfoundry-cli

local Homebrew formula metadata

Linux

Alpine Linux apkverified · 92%
sudo apk add cloudfoundry-cli

Alpine Linux edge package indexes · cloudfoundry-cli · source: dl-cdn.alpinelinux.org

Nixverified · 92%
nix profile install nixpkgs#cloudfoundry-cli

nixpkgs package indexes · pkgs/by-name/cl/cloudfoundry-cli/package.nix · source: api.github.com

Windows

Chocolateyverified · 92%
choco install cloudfoundry-cli

Chocolatey community package catalog · cloudfoundry-cli · source: community.chocolatey.org

Scoopverified · 92%
scoop install extras/cloudfoundry-cli

Scoop official bucket manifest trees · bucket/cloudfoundry-cli.json · source: api.github.com

overview

Package summary

Official command-line client for Cloud Foundry

Commands and aliases

  • cf

history

Project history and usage

Cloud Foundry CLI, installed as cf, is the official command-line client for Cloud Foundry. It is the everyday operator and developer interface for targeting Cloud Foundry foundations, logging in, pushing applications, managing services, and inspecting app state.

Project history

The official cloudfoundry/cli repository was created in 2013, shortly after Cloud Foundry had established itself as an open platform-as-a-service project. The CLI became the common client used across Cloud Foundry distributions rather than a vendor-specific command.

The CLI evolved alongside Cloud Foundry's API and application runtime. Versioned documentation now distinguishes modern v8 command references while still documenting installation, authentication, plugins, and getting-started flows for users of supported foundations.

Adoption history

Because Cloud Foundry installations span multiple vendors and private foundations, cf became a cross-distribution operational standard. Package metadata in this batch lists apk, Homebrew, Chocolatey, Nix, and Scoop, showing the tool's reach across Linux containers, macOS laptops, and Windows developer workstations.

The CLI's adoption follows Cloud Foundry's enterprise PaaS usage: developers use it to push and bind applications, while platform teams use it for scripted administration, service management, and troubleshooting.

How it is used

Typical cf workflows start with cf api, cf login, and cf target, followed by cf push for application deployment and commands for apps, routes, services, orgs, spaces, and logs.

The CLI stores target and authentication state in config.json under ~/.cf by default, with CF_HOME allowing that state directory to be moved for automation or isolated environments.

Why package nerds care

cloudfoundry-cli is one of the older cloud-native CLIs still packaged broadly by operating-system package managers. Unlike many cloud CLIs tied to one hyperscaler account model, cf is a shared client for any compatible Cloud Foundry foundation.

The executable name cf is short and historically important, so distro package names usually spell out cloudfoundry-cli while installing the canonical cf command.

Timeline

  • 2013: Official cloudfoundry/cli GitHub repository was created.
  • 2013: Preview release v0.0.1.alpha was published.
  • 2017: v6 releases were actively published, including v6.33.0.
  • 2020s: v7 and v8 documentation reflected newer Cloud Foundry API and CLI behavior.
  • 2026: v8 releases continued, including v8.18.x.

Related projects

  • Cloud Foundry Application Runtime is the platform surface managed by the cf CLI.
  • Cloud Controller API is the API family the CLI targets for application and foundation operations.
  • BOSH, buildpacks, service brokers, and cf CLI plugins are adjacent parts of the Cloud Foundry operator/developer ecosystem.

security posture

Risk level: orange

broad file, network, media, or database tool signal. infrastructure mutation or orchestration signal.

Risk classifier

orange risk · medium confidence · infrastructure

Why

  • broad file, network, media, or database tool signal
  • infrastructure mutation or orchestration signal

Signals

  • text:client
  • text:cloud

Install behavior

  • No Homebrew bottle metadata was recorded.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.cf/config.json$CF_HOME/config.json

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.cf/config.json$CF_HOME/config.json

executables

Installed executables

CommandKindExposureNote
cfexecutableindexed executableDiscovered from the local executable index.

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-08-03
manager version8.18.4
manager updated2026-07-27
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:cloudfoundry-cli
Version8.18.4
Package managerHomebrew
Homepagehttps://docs.cloudfoundry.org/cf-cli
Repositoryhttps://github.com/cloudfoundry/cli
Last updated2026-07-27T22:04:01+02:00
Pulseupdated
Bottlenot recorded
Servicenone declared

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

cloudfoundry-cli

nix profile install nixpkgs#cloudfoundry-cli
  • normalized package name match
  • Matched by: Cloudfoundry Cli
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/cl/cloudfoundry-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

cloudfoundry-cli 8.7.9-r20

A CLI for Cloud Foundry written in Go

https://github.com/cloudfoundry/cli

sudo apk add cloudfoundry-cli
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: cloudfoundry-cli
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Cloudfoundry Cli
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: cloudfoundry-cli from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
Chocolatey95%

cloudfoundry-cli

choco install cloudfoundry-cli
  • normalized package name match
  • Matched by: Cloudfoundry Cli
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: cloudfoundry-cli from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','chocolatey-misc-helpers.extension'
Scoop95%

extras/cloudfoundry-cli

scoop install extras/cloudfoundry-cli
  • normalized package name match
  • Matched by: Cloudfoundry Cli
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/cloudfoundry-cli.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation