From df0c108ca42789871caf6c900a1fead90c1d5172 Mon Sep 17 00:00:00 2001 From: hackeramitkumar Date: Sat, 8 Oct 2022 20:01:02 +0530 Subject: [PATCH] added a single line linux command for installing clusterctl. --- docs/book/src/user/quick-start.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/docs/book/src/user/quick-start.md b/docs/book/src/user/quick-start.md index 3d19f1766127..5a4c0f033917 100644 --- a/docs/book/src/user/quick-start.md +++ b/docs/book/src/user/quick-start.md @@ -107,13 +107,9 @@ Download the latest release; on linux, type: ```bash curl -L {{#releaselink gomodule:"sigs.k8s.io/cluster-api" asset:"clusterctl-linux-amd64" version:"1.2.x"}} -o clusterctl ``` -Make the clusterctl binary executable. -```bash -chmod +x ./clusterctl -``` -Move the binary in to your PATH. +Install clusterctl: ```bash -sudo mv ./clusterctl /usr/local/bin/clusterctl +sudo install -o root -g root -m 0755 clusterctl /usr/local/bin/clusterctl ``` Test to ensure the version you installed is up-to-date: ```bash