Skip to content

tensorleap/leap-cli

Repository files navigation

Leap CLI

Usage

Installation

Run leap --help to see available options.

Also available here

Automatic installation with script

with curl:

curl -s https://raw.githubusercontent.com/tensorleap/leap-cli/master/install.sh | bash

with wget:

wget -q -O - https://raw.githubusercontent.com/tensorleap/leap-cli/master/install.sh | bash

Manually

  1. Download the binary from the releases page that matches your OS and machine architecture.
  2. Rename the binary to leap
  3. Save it /usr/local/bin (or anywhere else in your $PATH)

Windows installation

To install on Windows, go to the releases page and download the Windows installer. Please note that the server installation is not supported on Windows; you can only use this installation to connect to an existing server.

Shell Completions

In order to enabled shell completions, add source <(leap completion zsh) to your ~/.zshrc file

Building locally

  1. Clone this repo
  2. Run go build . (the built file will be named leap-cli)

you can also run go run . to compile and run the source

Updating docs

make docgen

Uninstall

sudo rm $(which leap)

Development requirements

brew install go

brew install golangci-lint