| title | Launching GitHub Desktop from the command line | ||||||
|---|---|---|---|---|---|---|---|
| shortTitle | Launching from the command line | ||||||
| intro | You can launch GitHub Desktop from the command line. | ||||||
| redirect_from |
|
||||||
| versions |
|
||||||
| category |
|
{% mac %}
-
In the menu bar, select the {% data variables.product.prodname_desktop %} menu, then click Install Command Line Tool.

-
Open Terminal.
-
{% 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 %}
-
Open a command prompt.
-
{% 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 %}