Download Command Line Tools Mac

How to setup ADB on Linux. Download the Android SDK Platform Tools ZIP file for Linux. Extract the ZIP to an easily-accessible location (like the Desktop for example). Open a Terminal window. Global Nav Open Menu Global Nav Close Menu; Apple; Shopping Bag +. There are several ways to install Git on a Mac. The easiest is probably to install the Xcode Command Line Tools. On Mavericks (10.9) or above you can do this simply. The Command Line Tool package gives Mac terminal users many commonly used tools, utilities, and compilers, including make, GCC, clang, perl, svn, git, size, strip, strings, libtool, cpp, what, and many other useful commands that are usually found in default linux installations. This package is required to build Android apps. Most of the tools in here are invoked by the build tools and not intended for you. However, the following command line tools might be useful: aapt2. Parses, indexes, and compiles Android resources into a binary format that is optimized for the Android platform, and packages the compiled resources.

  1. Download Command Line Tools Mac
  2. Command Line Tools For Xcode
  3. Mac Command Line Tools Install
  4. Download Command Line Tools Macos
  5. Download Command Line Tools (macos High Sierra Version 10.13) For Xcode

Page last updated:

This topic describes how to install and uninstall the Cloud Foundry Command Line Interface (cf CLI).

Overview

The cf CLI is the official command line client for Cloud Foundry.

The procedures in this topic describe how to install the cf CLI on your operating system. You can install the cf CLI with a package manager, an installer, or a compressed binary.

For more information about how to use the cf CLI, see Getting Started with cf CLI.

To learn when cf CLI updates are released and to download a new binary or installer, see Releases in the Cloud Foundry CLI repository on GitHub.

There are currently two major versions of the cf CLI, v6 and v7. See the README to decide which version to use.

Prerequisites

If you previously used the cf CLI Ruby gem, you must uninstall the gem before installing the cf CLI.

To uninstall the gem:

  1. Run:

  2. Verify that your Ruby environment manager uninstalled the gem by closing and reopening your terminal.

Install the cf CLI Using a Package Manager

These sections describe how to install the cf CLI using a package manager. You can install the cf CLI using a package manager on Mac OS X and Linux operating systems.

Linux Installation

There are two ways to install the cf CLI using a package manager, depending on your Linux distribution.

To install the cf CLI on Debian and Ubuntu-based Linux distributions:

  1. Add the Cloud Foundry Foundation public key and package repository to your system by running:

  2. Update your local package index by running:

  3. To install cf CLI v6, run:

  4. To install cf CLI v7, run:

To install the cf CLI on Enterprise Linux and Fedora RHEL6/CentOS6 and later distributions:

  1. Configure the Cloud Foundry Foundation package repository by running:

  2. To install cf CLI v6, run:

  3. To install cf CLI v7, run:

    This also downloads and adds the public key to your system.

Mac OS X Installation

You can install the cf CLI on Mac OS X operating systems using the Homebrew package manager.

To install the cf CLI for Mac OS X using Homebrew:

  1. Install Homebrew. For instructions, see Install Homebrew on the Homebrew website.

  2. To install cf CLI v6, run:

  3. To install cf CLI v7, run:

Install the cf CLI Using a Compressed Binary

Tools

You can install the cf CLI using a compressed binary on Windows, Mac OS X, and Linux operating systems.

For more information about downloading and installing a compressed binary for cf CLI v6, see Installers and compressed binaries.

For more information about downloading and installing a compressed binary for cf CLI v7, see Installers and compressed binaries.

Verify Installation

To verify the installation of the cf CLI:

Download Command Line Tools Mac

  1. Close and reopen the command prompt. Or, open a new tab in the command prompt.

  2. Run:

If your installation was successful, the cf CLI help listing appears.

Uninstall the cf CLI

These sections describe how to uninstall the cf CLI. The method for uninstalling the cf CLI differs depending on the installation method.

Package Manager

Command Line Tools For Xcode

Download Command Line Tools Mac

If you installed the cf CLI with a package manager, follow the instructions specific to your package manager.

Installer

If you installed the cf CLI with an installer, follow the procedure in this section that is specific to your operating system.

Mac Command Line Tools Install

To uninstall the cf CLI on Mac OS X:

  1. Delete the binary /usr/local/bin/cf.

  2. Delete the directory /usr/local/share/doc/cf-cli.

To uninstall the cf CLI on Windows:

  1. Navigate to the Control Panel and click Programs and Features.

  2. Select Cloud Foundry CLI VERSION.

  3. Click Uninstall.

Binary

To uninstall the cf CLI after installing it with a binary:

Download Command Line Tools Macos

  1. Navigate to the location where you copied the binary.

  2. Delete the binary.

Download Command Line Tools (macos High Sierra Version 10.13) For Xcode

Create a pull request or raise an issue on the source for this page in GitHub