Home >Common Problem >How to install GitHub Desktop on Windows 11 or 10?
GitHub Desktop is a free, open source desktop application that runs on Windows. It was developed by GitHub and aims to provide a Git GUI client to manage repositories graphically instead of from the command line. Users will have an easy-to-use interface for managing and organizing repositories hosted on the GitHub platform. The software is written in TypeScript and uses React. Using it, developers of all skill levels can easily collaborate and collaborate on projects, making it ideal for both beginners and experienced developers. However, the developers of the GitHub Desktop app seem to have overlooked Linux users as it is only available for Windows and MacOS.
#1st method using GUI.
Those who don’t want to use the command line to install GitHub Desktop can download it manually from the official website. Visit the link to obtain the executable installation file on your system using the "Download for Windows 64-bit" button. When you click on it, a pop-up window will appear to save the GitHubDesktopSetup-x64 .exe file.
After completing the download process, the installation files will be located on your system. Double-click on it to start the GitHub Desktop installation process. Wait a few seconds and soon the system will automatically launch the software as it completes the setup operation. Learn about the benefits of using GitHub Desktop.
Use Command Prompt or PowerShell #2nd Method
If you are not interested in the GUI way of installing it, as shown in step 2 of this tutorial, which involves manually accessing the website to obtain a copy of the software. Then, install the GitHub Desktop app using the easy-to-use and straightforward Command Prompt (CMD) or Powershell.
The command to follow is :
For stable version:
winget install GitHub.GitHubDesktop
For beta version:
winget install GitHub.GitHubDesktop.Beta
We can run the GitHub Desktop application just like any other Windows 10 or 11 application, regardless of which method you used to install it. Click on the Start menu and search for the application and when its icon appears, click to run the same application.
However, we need to follow a few further steps to integrate our GitHub account into its desktop application. Here are those.
File menu and select New Repository or use the keyboard shortcut – Ctrl N. We have to give the repository we want to create a name so that we can easily identify it. The desktop application will prompt you to do so.
To save the Repos file, the application will choose the default location it is configured with, however, you can choose a different location if needed. Additionally, you can configure Git to ignore certain languages, you can initialize a readme file, and you can even choose a license for your repository. Once done, just click theCreate button.
Step 6: Clone an existing repositoryTo clone an existing repository from the GitHub Desktop app The repository starts and we can clone it. Click on theFile menu and select Clone Repository or use the keyboard shortcut – Ctrl Shift O. The software will prompt you for the name of the repository that needs to be cloned. Alternatively, we can also use the GitHub URL of another available code repository.
Step 7: Start working on the projectExisting users of the GitHub web platform using its desktop application No difficulties will be found. After setting up the application, they can start working on their projects immediately. With just a few clicks, users can create new files, edit existing files, push or pull origins, and more. Additionally, as a Git version control platform, GitHub Desktop will track changes and allow you to revert to a previous version if necessary.The above is the detailed content of How to install GitHub Desktop on Windows 11 or 10?. For more information, please follow other related articles on the PHP Chinese website!