{"meta":{"title":"Launching GitHub Desktop from the command line","intro":"You can launch GitHub Desktop from the command line.","product":"GitHub Desktop","breadcrumbs":[{"href":"/en/desktop","title":"GitHub Desktop"},{"href":"/en/desktop/overview","title":"Overview"},{"href":"/en/desktop/overview/launching-github-desktop-from-the-command-line","title":"Launching from the command line"}],"documentType":"article"},"body":"# Launching GitHub Desktop from the command line\n\nYou can launch GitHub Desktop from the command line.\n\n<div class=\"ghd-tool mac\">\n\n1. In the menu bar, select the **GitHub Desktop** menu, then click **Install Command Line Tool**.\n   ![Screenshot of the menu bar on a Mac. Under the \"GitHub Desktop\" dropdown menu, the option \"Install command line tool\" is highlighted in blue.](/assets/images/help/desktop/mac-install-command-line-tool.png)\n2. Open Terminal.\n3. To launch GitHub Desktop to the last opened repository, type `github`. To launch GitHub Desktop for a particular repository, type `github` followed by the path to the repository.\n\n   ```shell\n   github /PATH/TO/REPO\n   ```\n\n   You can also change to your repository path and then type `github .` to open that repository.\n\n   ```shell\n   $ cd /PATH/TO/REPO\n   [repo]$ github .\n   ```\n\n</div>\n\n<div class=\"ghd-tool windows\">\n\n1. Open a command prompt.\n2. To launch GitHub Desktop to the last opened repository, type `github`. To launch GitHub Desktop for a particular repository, type `github` followed by the path to the repository.\n\n   ```shell\n   C:\\Users\\octocat> github PATH\\TO\\REPO\n   ```\n\n   You can also change to your repository path and then type `github .` to open that repository.\n\n   ```shell\n   C:\\Users\\octocat> cd REPO\\MY-REPO\n   C:\\Users\\octocat\\repo\\myrepo> github .\n   ```\n\n</div>"}