1.4 KiB
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. |
|
|
{% 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 <em>/path/to/repo</em>
You can also change to your repository path and then type github . to open that repository.
$ cd <em>/path/to/repo</em>
[repo]$ github .
{% endmac %}
{% windows %}
- Open a command prompt.
- {% data reusables.desktop.launch-desktop-from-command-line %}
C:\Users\octocat> github <em>path\to\repo</em>
You can also change to your repository path and then type github . to open that repository.
C:\Users\octocat> cd <em>repo\myrepo</em>
C:\Users\octocat\repo\myrepo> github .
{% endwindows %}