Skip to content

Instantly share code, notes, and snippets.

@fscm
Last active March 24, 2020 11:48
Show Gist options
  • Save fscm/5498ec7d21973305765e6ae3d342e716 to your computer and use it in GitHub Desktop.
Save fscm/5498ec7d21973305765e6ae3d342e716 to your computer and use it in GitHub Desktop.
[macOS] Install lab cli

[macOS] Install lab cli

Instructions on how to install the GitLab's command-line tool lab.

Prerequisites

macOS Command Line Tools need to be installed on your local computer.

To install the Command Line Tools run the following command:

xcode-select --install

Install

lab can be obtained here. Copy the link for the version that you want to install from there.

Get the lab archive and extract it with the following command:

curl -fsSL --retry 3 --insecure "https://github.com/zaquestion/lab/releases/download/v0.17.2/lab_0.17.2_darwin_amd64.tar.gz" | sudo tar xz --no-same-owner -C /usr/local/bin/ lab

Verify

Run the following command on a terminal window:

lab --version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment