Skip to content

Install eo, the EmbedOps CLI

Prerequisites

  • Running either: WSL on Windows, Linux, or Mac

Steps

Install Dependencies

  1. A container engine is required to run Dev Containers specified by some files generated by eo.
    • Docker Desktop
    • Podman
    • Lima
  2. To interact with Dev Containers, you must install tools to interact with them. They have multiple supporting tools and services, but our favorite way to interact with them is to install VS Code and the Dev Containers Extension.

Install the EmbedOps CLI

The EmbedOps CLI can be installed using the following commands in a terminal:

To install the latest release:

cd /usr/local
curl -fsSL https://gitlab.com/embedops-public/embedops-cli/-/raw/main/install.sh | sh
To install a specific version of eo, you can run:
cd /usr/local
curl -fsSL https://gitlab.com/embedops-public/embedops-cli/-/raw/main/install.sh | EMBEDOPS_VERSION=1.0.0 sh
If your user account doesn't have sufficient privileges to install in /usr/local and sudo is available, use the following command instead:
cd /usr/local
curl -fsSL https://gitlab.com/embedops-public/embedops-cli/-/raw/main/install.sh | EMBEDOPS_VERSION=1.0.0 sudo -E sh
Verify the installation succeeded by running:
eo version
You should see the following output:
$ eo version
embedops: 1.0.0

The quickest way of installing eo on Linux is to run the following command:

curl -fsSL https://gitlab.com/embedops-public/embedops-cli/-/raw/main/install.sh | BIN_DIR=$HOME/.local/bin sh

Note

This installs eo in $HOME/.local/bin which is not generally in the user's $PATH

If you want to set a specific version or install path, you can run:

curl -fsSL ttps://gitlab.com/embedops-public/embedops-cli/-/raw/main/install.sh | EMBEDOPS_VERSION=1.0.0 BIN_DIR=/usr/bin sudo -E sh
Verify the installation succeeded by running:
/usr/bin/eo version
You should see the following output:
$ /usr/bin/eo version
embedops: 1.0.0