Skip to main content
Version: 1.26

Install the Okteto CLI

The Okteto CLI is our open-source tool that let's you develop your applications on Okteto.

This doc explains how to install and configure the Okteto CLI.

Installing the Okteto CLI

Install the Okteto CLI following these steps:

MacOS / Linux

curl https://get.okteto.com -sSfL | sh

If you need a specific version you can set the OKTETO_VERSION environment variable:

curl https://get.okteto.com -sSfL | OKTETO_VERSION=3.1.0 sh

You can also install it via brew by running:

brew install okteto

Windows

Download https://downloads.okteto.com/cli/stable/okteto.exe and add it to your $PATH.

You can also install it via scoop by running:

scoop install okteto
tip

For updating okteto with scoop, you might need to scoop unhold okteto & scoop update okteto or scoop uninstall okteto & scoop install okteto

GitHub

Alternatively, you can directly download the binary from GitHub or build it directly from the source code.

Next Steps

In this section you installed the Okteto CLI on your machine 🚀

If you are a developer and Okteto is already installed in your cluster, jump to the Developers Quickstart guide.

If you are a platform engineer looking to install Okteto in your cluster, jump to our Okteto SH installation guides.