<p>I am new to kubernetes and docker. I have been trying to install k3s on my Windows 10 system with the command mentioned on the website:</p>
<pre><code>curl -sfL https://get.k3s.io | sh -
</code></pre>
<p>I already have <code>minikube</code>, <code>kubectl</code> and <code>docker</code> installed on my system, and all work as expected.
However, when I run the above command, I get the following error message:</p>
<pre><code>sh : The term 'sh' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:32
+ curl -sfL https://get.k3s.io | sh -
+                                ~~
    + CategoryInfo          : ObjectNotFound: (sh:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
</code></pre>
<p>What am I doing wrong here?</p>

Sarthak Saxena
<p>For the time being <strong>k3s</strong> doesn't support <strong>Windows</strong>, but there is an <a href="https://github.com/k3s-io/k3s/issues/114" rel="nofollow noreferrer">open issue</a> on <strong>Github</strong> you can track.</p>
<p>The <a href="https://rancher.com/docs/k3s/latest/en/quick-start/#install-script" rel="nofollow noreferrer">installation script</a> you are trying to run, simply won't work on <strong>Windows</strong> machine. If you take a closer look at the <a href="https://rancher.com/docs/k3s/latest/en/installation/installation-requirements/" rel="nofollow noreferrer">installation requirements section</a> in the very same documentation, you will see the following information, regarding to the <a href="https://rancher.com/docs/k3s/latest/en/installation/installation-requirements/#operating-systems" rel="nofollow noreferrer">supported Operating Systems</a>:</p>
<blockquote>
<h2>Operating Systems</h2>
<p>K3s is expected to work on most modern Linux systems. 👈</p>
<p>Some OSs have specific requirements:</p>
<ul>
<li>If you are using  <strong>Raspbian Buster</strong>, follow  <a href="https://rancher.com/docs/k3s/latest/en/advanced/#enabling-legacy-iptables-on-raspbian-buster" rel="nofollow noreferrer">these steps</a>
to switch to legacy iptables.</li>
<li>If you are using  <strong>Alpine Linux</strong>, follow  <a href="https://rancher.com/docs/k3s/latest/en/advanced/#additional-preparation-for-alpine-linux-setup" rel="nofollow noreferrer">these steps</a>
for additional setup.</li>
<li>If you are using  <strong>(Red Hat/CentOS) Enterprise Linux</strong>, follow  <a href="https://rancher.com/docs/k3s/latest/en/advanced/#additional-preparation-for-red-hat-centos-enterprise-linux" rel="nofollow noreferrer">these
steps</a>
for additional setup.</li>
</ul>
<p>For more information on which OSs were tested with Rancher managed K3s
clusters, refer to the  <a href="https://rancher.com/support-maintenance-terms/" rel="nofollow noreferrer">Rancher support and maintenance
terms.</a></p>
</blockquote>
<p>So for running <strong>k3s</strong> on <strong>Windows</strong> you would need a <strong>Linux VM</strong> which can be provisioned using a hypervisor like <strong>Hyper-V</strong> or <strong>VirtualBox</strong> that can be run on your <strong>Windows host</strong>.</p>
<p>Take a look at the following article that presents how it can be done by using <strong>Hyper-V</strong>:</p>
<p><a href="https://jyeee.medium.com/rancher-2-4-14c31af12b7a" rel="nofollow noreferrer">Rancher 2.4 &amp; Kubernetes on your Windows 10 laptop with multipass &amp; k3s — Elasticsearch/Kibana in minutes!</a></p>
