diff --git a/docs/user-guide/prereqs.md b/docs/user-guide/prereqs.md index e6b94baa62..ccaacb7db8 100644 --- a/docs/user-guide/prereqs.md +++ b/docs/user-guide/prereqs.md @@ -13,6 +13,15 @@ If you downloaded a pre-compiled [release](https://github.com/kubernetes/kuberne If you built from source, kubectl should be either under `_output/local/bin//` or `_output/dockerized/bin//`. +If you don't have the source code checked out you can download the compiled kubectl binary for each release with curl + +```shell +# Linux +curl -LO https://storage.googleapis.com/kubernetes-release/release/${K8S_VERSION}/bin/linux/amd64/kubectl +# OS X +curl -LO https://storage.googleapis.com/kubernetes-release/release/${K8S_VERSION}/bin/darwin/amd64/kubectl +``` + The kubectl binary doesn't have to be installed to be executable, but the rest of the walkthrough will assume that it's in your PATH. The simplest way to install is to copy or move kubectl into a dir already in PATH (e.g. `/usr/local/bin`). For example: @@ -57,4 +66,4 @@ If you see a url response, you are ready to go. ## What's next? -[Learn how to launch and expose your application.](/docs/user-guide/quick-start) \ No newline at end of file +[Learn how to launch and expose your application.](/docs/user-guide/quick-start)