1
0
mirror of https://github.com/drone/drone-cli.git synced 2026-01-17 08:21:34 +01:00
Command Line Tools for Drone CI https://docs.drone.io/cli
Go to file
Brad Rydzewski 488a2157c8 Merge pull request #30 from jackspirou/master
Use the drone.NewClientTokenTLS method and update vendored deps by hand
2016-03-14 23:23:46 -07:00
drone use the drone.NewClientTokenTLS method and vendor by hand 2016-03-14 23:54:50 -05:00
vendor use the drone.NewClientTokenTLS method and vendor by hand 2016-03-14 23:54:50 -05:00
.drone.sec improve how files are tarred 2015-10-25 02:41:14 -07:00
.drone.yml improve how files are tarred 2015-10-25 02:41:14 -07:00
.gitignore cli now working with 0.4 woohoo 2015-10-24 17:06:46 -07:00
LICENSE Initial commit 2015-02-12 10:59:36 -08:00
Makefile Improve makefile 2015-12-19 06:25:42 +00:00
README.md added system requirements [CI SKIP] 2015-10-25 03:06:00 -07:00

drone-cli

Drone command-line interface

System Requirements

The Drone command-line utility requires Docker 1.6 or higher. If you are using Windows or Mac you can install Docker using the Docker Toolbox.

Installation

Linux

Download and install the x64 linux binary:

curl http://downloads.drone.io/drone-cli/drone_linux_amd64.tar.gz | tar zx
sudo install -t /usr/local/bin drone

OSX

Download and install using Homebrew:

brew tap drone/drone
brew install drone

Or manually download and install the binary:

curl http://downloads.drone.io/drone-cli/drone_darwin_amd64.tar.gz | tar zx
sudo cp drone /usr/local/bin

Authentication

You must provide the command line utility with the Drone server URL and a valid API token. You can get your API token in the Drone profile page.

export DRONE_TOKEN=
export DRONE_SERVER=