Git is a free and open-source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
This tip lets you install the git tool using the widget command line tool.
The widget command line tool enables users to discover, install, upgrade, remove and configure applications on Windows 10 and Windows 11 computers. This tool is the client interface to the Windows Package Manager service.
The widget can be installed on Windows 11 from the Windows Store.
More about winget can be read on the Microsoft website.
After installation, you can use the PowerShell command shell to install the git tool with this command:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | winget search Git.git Name Id Version Source ---------------------------- Git Git.Git 2.37.1 winget winget install --id Git.Git -e --source winget Found Git [Git.Git] Version 2.37.1 This application is licensed to you by its owner. Microsoft is not responsible for, nor does it grant any licenses to, third-party packages. Downloading https://github.com/git-for-windows/git/releases/download/v2.37.1.windows.1/Git-2.37.1-64-bit.exe ██████████████████████████████ 47.0 MB / 47.0 MB Successfully verified installer hash Starting package install... Successfully installed |