version=$1 arch=${2:-amd64} curl -L -o kubectl-${version}_${arch} "https://dl.k8s.io/release/v${version}/bin/linux/${arch}/kubectl"