Home > Common Problem > body text

How to install GitHub Desktop on Windows 11 or 10?

WBOY
Release: 2023-09-10 17:41:07
forward
1552 people have browsed it

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.

Step 1: Download GitHub Desktop

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.

Step 2: Install GitHub Desktop on Windows 11 or 10

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.

如何在 Windows 11 或 10 上安装 GitHub 桌面?

Use Command Prompt or PowerShell #2nd Method

Step 3: Use Command Prompt or PowerShell

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
Copy after login

For beta version:

winget install GitHub.GitHubDesktop.Beta
Copy after login

Step 4: Launch GitHub Desktop

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.

  1. After the installation is complete, click the "Login to Github.com" button or Enterprise Edition according to your plan. If you are not interested in connecting a GitHub Hosting account and want to use the app to manage your local repository, you can use the Skip this step option.
如何在 Windows 11 或 10 上安装 GitHub 桌面?
Log in to Github.com
    ##Enter your
  1. GitHub.com Account username and password to log in
如何在 Windows 11 或 10 上安装 GitHub 桌面?Add username and password
    View the access the application will have and click
  1. "Authorize Desktop" button.
如何在 Windows 11 或 10 上安装 GitHub 桌面?Authorize GitHub Desktop on Windows 10/11
  1. Check the box when the pop-up window appears Run GitHub-Desktop.exe and click the "Open" button.
如何在 Windows 11 或 10 上安装 GitHub 桌面?Allow github.com to open links in the desktop application
    Click the
  1. "Done" button and start cloning available repositories.
如何在 Windows 11 或 10 上安装 GitHub 桌面?Configuring Git
    The final interface of the application.
如何在 Windows 11 或 10 上安装 GitHub 桌面?
Step 6: Create a new repository

To start with the application, let’s create a new repository. To do this, click on the

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 the

Create button.

如何在 Windows 11 或 10 上安装 GitHub 桌面?Create a new repository
Step 6: Clone an existing repository

To clone an existing repository from the GitHub Desktop app The repository starts and we can clone it. Click on the

File 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.

如何在 Windows 11 或 10 上安装 GitHub 桌面?Clone the Git repository
Step 7: Start working on the project

Existing 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!

Related labels:
source:yundongfang.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!