<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>cli installation on IT-CNE Cloud-Native Core</title>
		<link>https://kubernetes.tbz.pstark.ch/en/modul/2_unterrichtsressourcen/01-k8s-basics/setup/local-usage/cli-installation/</link>
		<description>Recent content in cli installation on IT-CNE Cloud-Native Core</description>
		<generator>Hugo</generator>
		<language>en-us</language>
		
		
		
		
			<atom:link href="https://kubernetes.tbz.pstark.ch/en/modul/2_unterrichtsressourcen/01-k8s-basics/setup/local-usage/cli-installation/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Windows</title>
				<link>https://kubernetes.tbz.pstark.ch/en/modul/2_unterrichtsressourcen/01-k8s-basics/setup/local-usage/cli-installation/windows/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://kubernetes.tbz.pstark.ch/en/modul/2_unterrichtsressourcen/01-k8s-basics/setup/local-usage/cli-installation/windows/</guid>
				<description>&lt;h2 id=&#34;installation-for-windows&#34;&gt;Installation for Windows&lt;/h2&gt;&#xA;&lt;p&gt;Follow the steps outlined in &lt;a href=&#34;https://kubernetes.io/docs/tasks/tools/install-kubectl/&#34;&gt;https://kubernetes.io/docs/tasks/tools/install-kubectl/&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;In case the installation from the official package repositories didn&amp;rsquo;t work (or a specific version is needed) the static binary can be downloaded and put into the following path:&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;C:\Kubernetes\&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;In Windows, the &lt;code&gt;PATH&lt;/code&gt; can be set in the advanced system settings. It depends on the version:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.thewindowsclub.com/how-to-add-edit-a-path-variable-in-windows&#34;&gt;Windows 10&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://thecategorizer.com/windows/how-to-add-path-and-environment-variables-in-windows/&#34;&gt;Windows 11&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;div class=&#34;alert alert-info&#34; role=&#34;alert&#34;&gt;&lt;div class=&#34;h4 alert-heading&#34; role=&#34;heading&#34;&gt;Note: Windows Quick Hack&lt;/div&gt;&#xA;&lt;p&gt;Copy the &lt;code&gt;kubectl&lt;/code&gt; binary directly into the folder &lt;code&gt;C:\Windows&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;/div&gt;</description>
			</item>
			<item>
				<title>macOS</title>
				<link>https://kubernetes.tbz.pstark.ch/en/modul/2_unterrichtsressourcen/01-k8s-basics/setup/local-usage/cli-installation/macos/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://kubernetes.tbz.pstark.ch/en/modul/2_unterrichtsressourcen/01-k8s-basics/setup/local-usage/cli-installation/macos/</guid>
				<description>&lt;h2 id=&#34;installation-for-macos&#34;&gt;Installation for macOS&lt;/h2&gt;&#xA;&lt;p&gt;Follow the steps outlined in &lt;a href=&#34;https://kubernetes.io/docs/tasks/tools/install-kubectl/&#34;&gt;https://kubernetes.io/docs/tasks/tools/install-kubectl/&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;In case the installation from the official package repositories didn&amp;rsquo;t work (or a specific version is needed) the static binary can be downloaded and put into the following path:&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;~/bin&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&#34;file-mode&#34;&gt;File mode&lt;/h3&gt;&#xA;&lt;p&gt;The &lt;code&gt;kubectl&lt;/code&gt; binary has to be executable:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;cd ~/bin&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;chmod +x kubectl&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id=&#34;path-variable&#34;&gt;PATH variable&lt;/h3&gt;&#xA;&lt;p&gt;In macOS, the directory &lt;code&gt;~/bin&lt;/code&gt; should already be part of the &lt;code&gt;PATH&lt;/code&gt; variable.&#xA;In case &lt;code&gt;kubectl&lt;/code&gt; is placed in a different directory, you can change the &lt;code&gt;PATH&lt;/code&gt; variable with the following command:&lt;/p&gt;</description>
			</item>
			<item>
				<title>Linux</title>
				<link>https://kubernetes.tbz.pstark.ch/en/modul/2_unterrichtsressourcen/01-k8s-basics/setup/local-usage/cli-installation/linux/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://kubernetes.tbz.pstark.ch/en/modul/2_unterrichtsressourcen/01-k8s-basics/setup/local-usage/cli-installation/linux/</guid>
				<description>&lt;h2 id=&#34;installation-for-linux&#34;&gt;Installation for Linux&lt;/h2&gt;&#xA;&lt;p&gt;Follow the steps outlined in &lt;a href=&#34;https://kubernetes.io/docs/tasks/tools/install-kubectl/&#34;&gt;https://kubernetes.io/docs/tasks/tools/install-kubectl/&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;In case the installation from the official package repositories didn&amp;rsquo;t work (or a specific version is needed) the static binary can be downloaded and put into the following path:&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;~/bin&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&#34;file-mode&#34;&gt;File mode&lt;/h3&gt;&#xA;&lt;p&gt;The &lt;code&gt;kubectl&lt;/code&gt; binary has to be executable:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;cd ~/bin&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;chmod +x kubectl&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id=&#34;path-variable&#34;&gt;PATH variable&lt;/h3&gt;&#xA;&lt;p&gt;In Linux, the directory &lt;code&gt;~/bin&lt;/code&gt; should already be part of the &lt;code&gt;PATH&lt;/code&gt; variable.&#xA;In case &lt;code&gt;kubectl&lt;/code&gt; is placed in a different directory, you can change the &lt;code&gt;PATH&lt;/code&gt; variable with the following command:&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
