Installing Codezero Local Agent
Codezero's developer tools assist in the development/testing of Kubernetes applications through a Command-Line Interface (CLI) and a Desktop application.
Use one of the supported package managers listed below for installation. From the command line, you can use an install script or download and extract a versioned archive file for your operating system to install Codezero.
Requirements
Codezero requires:
- MacOS, Windows 10+ or Ubuntu 18.x+ to run the CLI (
czctl) sudo/root/administrator permissions on your local system
Desktop application
- macOS
- Windows
To install Codezero on macOS:
- Download the latest version for your CPU architecture type:
| Arch Type | URL |
|---|---|
| amd64 | https://releases.codezero.io/app/latest/Codezero-latest-amd64.dmg |
| arm64 | https://releases.codezero.io/app/latest/Codezero-latest-arm64.dmg |
- Drag the Codezero application to the Applications folder.
Alternatively you can use homebrew:
brew install --cask c6o/tap/codezero-app
To install Codezero on Windows:
- Download the latest version for your CPU architecture type:
| Arch Type | URL |
|---|---|
| amd64 | https://releases.codezero.io/app/latest/CodezeroSetup-latest-amd64.exe |
| arm64 | https://releases.codezero.io/app/latest/CodezeroSetup-latest-arm64.exe |
- Double click on the setup exe.
Command-Line Interface (CLI)
The Desktop application contains the CLI. You only need to install the CLI when you do not or cannot install the Desktop application – for example in a Devcontainer.
Install with a package manager
- Homebrew
- Scoop
Install without a package manager
- macOS
- Linux
- Windows
To install Codezero without a package manager on macOS:
- Download the latest version for your CPU architecture type:
| Arch Type | URL |
|---|---|
| amd64 | https://releases.codezero.io/latest/headless-darwin-amd64.tar.gz |
| arm64 | https://releases.codezero.io/latest/headless-darwin-arm64.tar.gz |
- Unzip the file:
tar -xzvf headless-*.tar.gz
Optionally, install the binary in a location where you can execute it globally (for example, /usr/local/bin).
Alternatively you can use the following command to install the latest version into /usr/local/bin:
curl -L https://releases.codezero.io/install-headless.sh | /bin/bash
To install Codezero without a package manager on Linux:
- Download the latest version for your CPU architecture type:
| Arch Type | URL |
|---|---|
| amd64 | https://releases.codezero.io/latest/headless-linux-amd64.tar.gz |
| arm64 | https://releases.codezero.io/latest/headless-linux-arm64.tar.gz |
- Unzip the file:
tar -xzvf headless-*.tar.gz
Optionally, install the binary in a location where you can execute it globally (for example, /usr/local/bin).
Alternatively, you can use the following command to install the latest version into /usr/local/bin:
curl -L https://releases.codezero.io/install-headless.sh | /bin/bash
To install Codezero without a package manager on Windows:
- Download the latest version for your CPU architecture type:
| Arch Type | URL |
|---|---|
| amd64 | https://releases.codezero.io/latest/headless-windows-amd64.zip |
| arm64 | https://releases.codezero.io/latest/headless-windows-arm64.zip |
-
Unzip the file.
-
Add the path to the unzipped
czctl.exeandczdaemon.exefiles to yourPathenvironment variable. To learn how to update environment variables, see the Microsoft PowerShell documentation.