In Git for Windows Bash, how to install "get-apt" and "sudo" and all those basic commands?
<p>I was working mostly on Mac, so I have no idea about how to set up git environment on Windows 8. </p>

<p>Today, I was going to start AngularJS on my Windows Machine. On tutorial, I saw it requires git, and I downloaded the "Git for windows", called "MINGW64". </p>

<p>On tutorial, it asked me to use command: </p>

<pre><code>apt-get install nodejs-legacy npm
nodejs --version
npm --version
</code></pre>

<p>Then, the bash told me</p>

<pre><code>bash: apt-get: command not found
</code></pre>

<p>I was confused and thought the apt-get is a pre-installed thing, so I changed the git setting and re-installed it with all different settings. It still the same.</p>

<p>And I am so surprised that "sudo" is not found as well.</p>

<p>Next, I searched online and had many vague answer which directs to the path, I think that might be the issue, but the person did not clearly say how to solve it. I was hoping can get some help from Stack overflow community how can I install the apt-get and other basic commands packages on git for windows.</p>

<p>If it is a duplicate, please guide me a bit how to use the correct words to mention this issue. I have tried "git for windows has no apt-get", etc on Google, and no luck for me. This has bothered me whole night. Thanks!</p>

<p>Link for <a href="https://docs.angularjs.org/tutorial" rel="noreferrer">AngularJS Tutorial</a></p>

<p>Link for <a href="https://git-scm.com/download/win" rel="noreferrer">git for windows</a></p>