Skip to content
This repository has been archived by the owner on Feb 8, 2021. It is now read-only.

hyperhq/hypercli

Repository files navigation

HyperCLI Build Status

Go version of Hyper.sh client command line tools.

Install

Quick and Easy (Recommended)

Grab the latest version for your system on the Releases page or build it by yourself as the instruction.

You can either run the binary directly or add somewhere in your $PATH.

Getting Started

Before Getting Started

Before you can use Hyper.sh, be sure you've created a free account with Hyper.sh and generate your credentials on Hyper.sh.

Once the installation and setup completes, enter hyper config in your terminal. The CLI will prompt to ask for your API credential:

The credential is stored in a local configuration file $HOME/.hyper/config.json. The configuration file is similar to Docker's, with an extra section clouds.

Or you can use environmental vairables HYPER_ACCESS and HYPER_SECRET to pass the access key and secret key (CLI will search for these envs before loading the configuration file).

You only need to do that once for your machine. If you've done that, then you can continue.

See the official docs for more detailed info on using Hyper.sh.

Actually Getting Started

The easiest way to get started is by digging around.

$ hyper --help for example usage and a list of commands

How to build

$ mkdir $GOPATH/src/github.com/hyperhq/
$ cd $GOPATH/src/github.com/hyperhq/
$ git clone https://github.com/hyperhq/hypercli hypercli
$ cd hypercli
$ ./build.sh

Contributing

Give us a pull request! File a bug!