1
0
mirror of synced 2026-01-04 09:06:46 -05:00
Files
docs/content/desktop/installing-and-configuring-github-desktop/overview/launching-github-desktop-from-the-command-line.md
2023-07-31 13:03:11 +00:00

1.4 KiB

title, shortTitle, intro, redirect_from, versions
title shortTitle intro redirect_from versions
Launching GitHub Desktop from the command line Launching from the command line You can launch GitHub Desktop from the command line.
/desktop/getting-started-with-github-desktop/launching-github-desktop-from-the-command-line
/desktop/installing-and-configuring-github-desktop/launching-github-desktop-from-the-command-line
feature
desktop

{% mac %}

  1. In the menu bar, select the {% data variables.product.prodname_desktop %} menu, then click Install Command Line Tool. Screenshot of the menu bar on a Mac. Under the expanded "GitHub Desktop" dropdown menu, the cursor hovers over "Install command line tool", highlighted in blue.

  2. Open Terminal.

  3. {% data reusables.desktop.launch-desktop-from-command-line %}

    github /PATH/TO/REPO
    

    You can also change to your repository path and then type github . to open that repository.

    $ cd /PATH/TO/REPO
    [repo]$ github .
    

{% endmac %}

{% windows %}

  1. Open a command prompt.

  2. {% data reusables.desktop.launch-desktop-from-command-line %}

    C:\Users\octocat> github PATH\TO\REPO
    

    You can also change to your repository path and then type github . to open that repository.

    C:\Users\octocat> cd REPO\MY-REPO
    C:\Users\octocat\repo\myrepo> github .
    

{% endwindows %}