Discover how to install the Koyeb CLI to interact with the Koyeb serverless platform directly from the terminal.
The Koyeb CLI is a command-line interface allowing you to interact with Koyeb directly from the terminal.
You can install it using the installers below, or download a release binary from the GitHub releases page
If you have Homebrew
brew install koyeb/tap/koyeb
To upgrade an existing installation of the Koyeb CLI, run:
brew upgrade koyeb
Another alternative to installing the Koyeb CLI is to execute the install script. Using this installation method, the koyeb
binary is installed in your home directory inside the .koyeb
folder.
curl -fsSL https://raw.githubusercontent.com/koyeb/koyeb-cli/master/install.sh | sh
To add the binary to your path, you will have to add the following to your shell profile (i.e. .bashrc
or .zshrc
).
export PATH=$HOME/.koyeb/bin:$PATH
We provide the Koyeb CLI as ready-to-use Docker container images. You can install the latest version of the CLI using the latest
tag or a specific version passing the appropriate tag
docker pull koyeb/koyeb-cli:latest
The Koyeb CLI comes with auto-completion support for bash and zsh.
For bash: To enable auto-completion for bash, run:
koyeb completion bash > /etc/bash_completion.d/koyeb
For zsh: To enable auto-completion for zsh, run:
koyeb completion zsh > "${fpath[1]}/_koyeb"
Note that if shell completion is not already enabled in your environment you will need to enable it by executing:
echo "autoload -U compinit; compinit" >> ~/.zshrc
For bash: To enable auto-completion for bash, run:
koyeb completion bash > /usr/local/etc/bash_completion.d/koyeb
For zsh: To enable auto-completion for zsh, run:
koyeb completion zsh > "${fpath[1]}/_koyeb"
Note that if shell completion is not already enabled in your environment you will need to enable it by executing:
echo "autoload -U compinit; compinit" >> ~/.zshrc
The CLI source code is available on GitHub