Skip to content
Permalink
Browse files

en-docs: Improve Install Instruction Formating (#17996)

  • Loading branch information
kihahu authored and k8s-ci-robot committed Dec 24, 2019
1 parent 891814d commit c2617fb80fd399313e2fadd74a5236ef0533eff1
Showing with 12 additions and 9 deletions.
  1. +12 −9 content/en/docs/tasks/tools/install-kubectl.md
@@ -80,21 +80,24 @@ yum install -y kubectl

### Install using other package management

If you are on Ubuntu or another Linux distribution that support [snap](https://snapcraft.io/docs/core/install) package manager, kubectl is available as a [snap](https://snapcraft.io/) application.

If you are on Linux and using [Homebrew](https://docs.brew.sh/Homebrew-on-Linux) package manager, kubectl is available for [installation](https://docs.brew.sh/Homebrew-on-Linux#install).

{{< tabs name="other_kubectl_install" >}}
{{< tab name="Snap" codelang="bash" >}}
sudo snap install kubectl --classic
{{% tab name="Snap" %}}
If you are on Ubuntu or another Linux distribution that support [snap](https://snapcraft.io/docs/core/install) package manager, kubectl is available as a [snap](https://snapcraft.io/) application.

```shell
snap install kubectl --classic
kubectl version
{{< /tab >}}
{{< tab name="Homebrew" codelang="bash" >}}
```
{{% /tab %}}
{{% tab name="Homebrew" %}}
If you are on Linux and using [Homebrew](https://docs.brew.sh/Homebrew-on-Linux) package manager, kubectl is available for [installation](https://docs.brew.sh/Homebrew-on-Linux#install).
```shell
brew install kubectl
kubectl version
{{< /tab >}}
```
{{% /tab %}}
{{< /tabs >}}

## Install kubectl on macOS

0 comments on commit c2617fb

Please sign in to comment.
You can’t perform that action at this time.