mirror of https://github.com/kubernetes/kops.git
				
				
				
			
		
			
				
	
	
	
		
			1.1 KiB
		
	
	
	
	
	
			
		
		
	
	
			1.1 KiB
		
	
	
	
	
	
Prerequisite
kubectl is required, see here.
macOS and Linux From Homebrew
brew update && brew install kops
The kops binary is also available via our releases.
GitHub Releases
Linux
curl -Lo kops https://github.com/kubernetes/kops/releases/download/$(curl -s https://api.github.com/repos/kubernetes/kops/releases/latest | grep tag_name | cut -d '"' -f 4)/kops-linux-amd64
chmod +x kops
sudo mv kops /usr/local/bin/kops
macOS
curl -Lo kops https://github.com/kubernetes/kops/releases/download/$(curl -s https://api.github.com/repos/kubernetes/kops/releases/latest | grep tag_name | cut -d '"' -f 4)/kops-darwin-amd64
chmod +x kops
sudo mv kops /usr/local/bin/kops
Windows
- Get kops-windows-amd64from our releases.
- Rename kops-windows-amd64tokops.exeand store it in a preferred path.
- Make sure the path you chose is added to your Pathenvironment variable.