|
| 1 | +--- |
| 2 | +### Title the install tools article with the name of the tool to be installed |
| 3 | +### Include vendor name where appropriate |
| 4 | +title: Git for Windows on Arm |
| 5 | + |
| 6 | +### Optional additional search terms (one per line) to assist in finding the article |
| 7 | +additional_search_terms: |
| 8 | +- git |
| 9 | +- windows |
| 10 | +- woa |
| 11 | +- windows on arm |
| 12 | +- open source windows on arm |
| 13 | + |
| 14 | +### Estimated completion time in minutes (please use integer multiple of 5) |
| 15 | +minutes_to_complete: 10 |
| 16 | + |
| 17 | +### Link to official documentation |
| 18 | +official_docs: https://git-scm.com/doc |
| 19 | + |
| 20 | +author_primary: Jason Andrews |
| 21 | + |
| 22 | +### PAGE SETUP |
| 23 | +weight: 1 # Defines page ordering. Must be 1 for first (or only) page. |
| 24 | +tool_install: true # Set to true to be listed in main selection page, else false |
| 25 | +multi_install: false # Set to true if first page of multi-page article, else false |
| 26 | +multitool_install_part: false # Set to true if a sub-page of a multi-page article, else false |
| 27 | +layout: installtoolsall # DO NOT MODIFY. Always true for tool install articles |
| 28 | +--- |
| 29 | + |
| 30 | +Git has native support for [Windows on Arm](https://learn.microsoft.com/en-us/windows/arm/overview). Starting with version 2.47.1, an official installer is available. |
| 31 | + |
| 32 | +In addition to Windows laptops, Windows on Arm instances are available with Microsoft Azure. For further information, see [Deploy a Windows on Arm virtual machine on Microsoft Azure](/learning-paths/cross-platform/woa_azure/). |
| 33 | + |
| 34 | +## How do I download and install Git for Windows on Arm? |
| 35 | + |
| 36 | +Git releases are available in [GitHub releases](https://github.com/git-for-windows/git/releases/). |
| 37 | + |
| 38 | +Use a browser to download the desired release file. The Git releases for Windows on Arm have `arm64.exe` in the filename. |
| 39 | + |
| 40 | +You can also download from a Windows PowerShell with the following command: |
| 41 | + |
| 42 | +```command |
| 43 | +curl https://github.com/git-for-windows/git/releases/download/v2.47.1.windows.1/Git-2.47.1-arm64.exe -o Git-2.47.1-arm64.exe |
| 44 | +``` |
| 45 | + |
| 46 | +Once you have downloaded Git, run the installer `.exe` file on a Windows on Arm machine. |
| 47 | + |
| 48 | +The installer starts. |
| 49 | + |
| 50 | +Click Next to acknowledge the GNU General Public License. |
| 51 | + |
| 52 | +Set the destination location or accept the default location and click Next. |
| 53 | + |
| 54 | +Continue to click Next for any configuration settings. You can accept all defaults if you are unsure of specific settings. |
| 55 | + |
| 56 | +At the end of the install process you see the screen below indicating setup has finished installing Git: |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | +Click the Finish button to complete installation. |
| 61 | + |
| 62 | +## How do I use Git on Windows? |
| 63 | + |
| 64 | +You can use Git on Windows from a Command Prompt or using Git Bash, a Linux-like terminal experience which includes Git and many other Linux commands. |
| 65 | + |
| 66 | +{{% notice Note %}} |
| 67 | +Git is not automatically added to your search path during installation. |
| 68 | +{{% /notice %}} |
| 69 | + |
| 70 | +To use Git, click the Windows Start button and then click `All apps`. |
| 71 | + |
| 72 | +You see the Git folder in the G section. |
| 73 | + |
| 74 | + |
| 75 | + |
| 76 | +There are menu items for multiple ways to start Git. |
| 77 | + |
| 78 | +## How can I use Git in a Windows Command Prompt? |
| 79 | + |
| 80 | +Start a Git Command Prompt by selecting `Git CMD` from the start menu. |
| 81 | + |
| 82 | + |
| 83 | + |
| 84 | + |
| 85 | +To see the help message enter: |
| 86 | + |
| 87 | +```cmd |
| 88 | +git help |
| 89 | +``` |
| 90 | + |
| 91 | +You can use Git from this Command Prompt. |
| 92 | + |
| 93 | +## How can I use Git with Git Bash? |
| 94 | + |
| 95 | +To use Git in a Linux-like environment, select `Git Bash` from the start menu. |
| 96 | + |
| 97 | + |
| 98 | + |
| 99 | +Click the colored icon on the top left corner of the Git Bash window and then click `Options` to change the appearance of the window, including colors, fonts, and font sizes. |
| 100 | + |
| 101 | + |
| 102 | + |
| 103 | +You are now ready to use Git on your Windows on Arm device. |
0 commit comments