Back to Skaffold

Installing Skaffold

docs-v1/content/en/docs/install/_index.md

2.19.05.8 KB
Original Source

{{< alert title="Note" >}}

To keep Skaffold up to date, update checks are made to Google servers to see if a new version of Skaffold is available.

You can turn this update check off by following [these instructions]({{<relref "/docs/references/privacy#update-check">}}).

To help prioritize features and work on improving Skaffold, we collect anonymized Skaffold usage data. You can opt out of data collection by following [these instructions]({{<relref "/docs/resources/telemetry">}}).

Your use of this software is subject to the Google Privacy Policy

{{< /alert >}}

Managed IDE

{{% tabs %}}

{{% tab "CLOUD CODE" %}}

Cloud Code provides a managed experience of using Skaffold in supported IDEs. You can install the Cloud Code extension for Visual Studio Code or the plugin for JetBrains IDEs. It manages and keeps Skaffold up-to-date, along with other common dependencies, and works with any kubernetes cluster.

{{% /tab %}}

{{% tab "GOOGLE CLOUD SHELL" %}}

Google Cloud Platform's Cloud Shell provides a free browser-based terminal/CLI and editor with Skaffold, Minikube, and Docker pre-installed. (Requires a Google Account.)

Cloud Shell is a great way to try Skaffold out.

{{% /tab %}}

{{% /tabs %}}

Standalone binary

{{% tabs %}}

{{% tab "LINUX" %}} The v1.39.4 stable binaries can be found here:

Simply download the appropriate binary and add it to your PATH. Or, copy+paste one of the following commands in your terminal:

bash
# For Linux x86_64 (amd64)
curl -Lo skaffold https://storage.googleapis.com/skaffold/releases/v1.39.4/skaffold-linux-amd64 && \
sudo install skaffold /usr/local/bin/
bash
# For Linux ARMv8 (arm64)
curl -Lo skaffold https://storage.googleapis.com/skaffold/releases/v1.39.4/skaffold-linux-arm64 && \
sudo install skaffold /usr/local/bin/
bash
# For Linux on x86_64 (amd64)
curl -Lo skaffold https://storage.googleapis.com/skaffold/builds/v1.39.4/skaffold-linux-amd64 && \
sudo install skaffold /usr/local/bin/
bash
# For Linux on ARMv8 (arm64)
curl -Lo skaffold https://storage.googleapis.com/skaffold/builds/v1.39.4/skaffold-linux-arm64 && \
sudo install skaffold /usr/local/bin/

{{% /tab %}}

{{% tab "MACOS" %}}

The v1.39.4 stable binaries can be found here:

Simply download the appropriate binary and add it to your PATH. Or, copy+paste one of the following commands in your terminal:

bash
# For macOS on x86_64 (amd64)
curl -Lo skaffold https://storage.googleapis.com/skaffold/releases/v1.39.4/skaffold-darwin-amd64 && \
sudo install skaffold /usr/local/bin/
bash
# For macOS on ARMv8 (arm64)
curl -Lo skaffold https://storage.googleapis.com/skaffold/releases/v1.39.4/skaffold-darwin-arm64 && \
sudo install skaffold /usr/local/bin/
bash
# For macOS on x86_64 (amd64)
curl -Lo skaffold https://storage.googleapis.com/skaffold/builds/v1.39.4/skaffold-darwin-amd64 && \
sudo install skaffold /usr/local/bin/
bash
# For macOS on ARMv8 (arm64)
curl -Lo skaffold https://storage.googleapis.com/skaffold/builds/v1.39.4/skaffold-darwin-arm64 && \
sudo install skaffold /usr/local/bin/

Skaffold is also kept up to date on a few central package managers:

Homebrew

bash
brew install skaffold

MacPorts

bash
sudo port install skaffold

{{% /tab %}}

{{% tab "WINDOWS" %}}

The v1.39.4 stable release binary can be found here:

https://storage.googleapis.com/skaffold/releases/v1.39.4/skaffold-windows-amd64.exe

Simply download it and place it in your PATH as skaffold.exe.

Scoop

Skaffold can be installed using the Scoop package manager from the extras bucket. This package is not maintained by the Skaffold team.

powershell
scoop bucket add extras
scoop install skaffold

Chocolatey

Skaffold can be installed using the Chocolatey package manager. This package is not maintained by the Skaffold team.

{{< alert title="Caution" >}}

Chocolatey's installation mechanism interferes with <kbd>Ctrl</kbd>+<kbd>C</kbd> handling and prevents Skaffold from cleaning up deployments. This cannot be fixed by Skaffold. For more information about this defect see chocolatey/shimgen#32.

{{< /alert >}}

bash
choco install -y skaffold

{{% /tab %}}

{{% tab "GCLOUD" %}}

If you have the Google Cloud SDK installed on your machine, you can quickly install Skaffold as a bundled component.

Make sure your gcloud installation and the components are up to date:

gcloud components update

Then, install Skaffold:

gcloud components install skaffold

{{% /tab %}}

{{% tab "DOCKER" %}}

Stable binary

For the v1.39.4 stable release, you can use:

docker run gcr.io/k8s-skaffold/skaffold:v1.39.4 skaffold <command>