diff --git a/ee/ucp/user-access/kubectl.md b/ee/ucp/user-access/kubectl.md
index 1eda2b1303..a7b8c28a02 100644
--- a/ee/ucp/user-access/kubectl.md
+++ b/ee/ucp/user-access/kubectl.md
@@ -44,13 +44,13 @@ operating system.
-
+
```
# Set the Kubernetes version as found in the UCP Dashboard or API
k8sversion=v1.8.11
# Get the kubectl binary.
-curl -LO https://storage.googleapis.com/kubernetes-release/release/$k8sversion/bin/linux/amd64/kubectl
+curl -LO https://storage.googleapis.com/kubernetes-release/release/$k8sversion/bin/darwin/amd64/kubectl
# Make the kubectl binary executable.
chmod +x ./kubectl
@@ -60,13 +60,13 @@ sudo mv ./kubectl /usr/local/bin/kubectl
```
-
+
```
# Set the Kubernetes version as found in the UCP Dashboard or API
k8sversion=v1.8.11
# Get the kubectl binary.
-curl -LO https://storage.googleapis.com/kubernetes-release/release/$k8sversion/bin/darwin/amd64/kubectl
+curl -LO https://storage.googleapis.com/kubernetes-release/release/$k8sversion/bin/linux/amd64/kubectl
# Make the kubectl binary executable.
chmod +x ./kubectl