https://github.com/codefresh-io/cli-v2
The new Codefresh CLI tool
https://github.com/codefresh-io/cli-v2
Last synced: 8 months ago
JSON representation
The new Codefresh CLI tool
- Host: GitHub
- URL: https://github.com/codefresh-io/cli-v2
- Owner: codefresh-io
- License: apache-2.0
- Created: 2021-05-26T08:04:46.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2025-09-10T09:45:05.000Z (9 months ago)
- Last Synced: 2025-09-10T13:01:58.575Z (9 months ago)
- Language: Go
- Homepage:
- Size: 2.05 MB
- Stars: 12
- Watchers: 12
- Forks: 11
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README

# Codefresh CLI V2
[]( https://g.codefresh.io/public/accounts/codefresh-inc/pipelines/new/60ae2ae330acb8f9c9bace7f)
[](https://codecov.io/gh/codefresh-io/cli-v2)
[](https://goreportcard.com/report/github.com/codefresh-io/cli-v2)
## Introduction
The new Codefresh CLI tool.
## Installation
### Using brew:
```bash
# tap Codefresh homebrew repo
brew tap codefresh-io/cli
# install cf2 CLI
brew install cf2
# check the installation
cf version
```
### Mac
```bash
# get the latest version or change to a specific version
VERSION=$(curl --silent "https://api.github.com/repos/codefresh-io/cli-v2/releases/latest" | jq -r ".tag_name")
# download and extract the binary
curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/$VERSION/cf-darwin-amd64.tar.gz | tar zx
# move the binary to your $PATH
mv ./cf-* /usr/local/bin/cf
# check the installation
cf version
```
### Linux
```bash
# get the latest version or change to a specific version
VERSION=$(curl --silent "https://api.github.com/repos/codefresh-io/cli-v2/releases/latest" | jq -r ".tag_name")
# download and extract the binary
curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/$VERSION/cf-linux-amd64.tar.gz | tar zx
# move the binary to your $PATH
mv ./cf-* /usr/local/bin/cf
# check the installation
cf version
```