Installing the Client

This is a guide to installing the Bytemark Command-Line Client. We recommend you use a package manager to install our software so that you get automatic updates.

Find your operating system in the list below and follow the instructions to get started!

OS X (via Homebrew)

Ensure you have Xcode Command Line Tools installed, then open Terminal and run this command:

brew install bytemarkhosting/tools/bytemark-client

Alternatively, grab a one-off download (but you won’t get any automatic updates).

Linux

Debian-based systems (Ubuntu, Mint, etc)

Create the file /etc/apt/sources.list.d/bytemark-client.list with these contents:

deb https://repo.bytemark.co.uk/bytemark-client/debian ./

Run these commands to install the Bytemark package signing key and the software:

wget -O- https://secure.bytemark.co.uk/key/repositories-2014.key \
  | sudo apt-key add -
sudo apt-get install apt-transport-https
sudo apt-get update
sudo apt-get install bytemark-client

Fedora & other dnf or yum-based systems

For dnf-based systems you can run the following command to add the bytemark-client repository to your config and then install the client.

dnf config-manager --add-repo https://repo.bytemark.co.uk/bytemark-client/rpm/bytemark-client.repo
dnf install bytemark-client

For yum based systems you can download the repo file into /etc/yum.repos.d and install the client using the following example.

wget -O /etc/yum.repos.d/bytemark-client.repo https://repo.bytemark.co.uk/bytemark-client/rpm/bytemark-client.repo
yum install bytemark-client

Other systems

You can grab a one-off download (but you won’t get any automatic updates).

Windows (via Chocolatey)

Open Powershell and run this command:

choco install bytemark

Alternatively, grab a one-off download and run it from the command-line.

Other platforms

You can find all our one-off downloads at one-off download including for freebsd and openbsd, and previous versions of the tools.

Getting started

Once you’ve installed the client, run bytemark to show the available commands.

  • If you’re completely new to Bytemark then signup for an account.
  • If you have an account with us already, tell the command-line client to use your account and username by default:
bytemark update config --account alice
bytemark update config --user alice

Now you can create a Cloud Server.

Updated on February 20, 2019

Was this article helpful?

Related Articles

Have you tried Kubernetes?
Kubernetes (K8s) is helping enterprises to ship faster & scale their business. Sounds good? Let us build a K8s solution for your needs.
Register your interest