Skip to main content

Launching GitHub Desktop from the command line

You can launch GitHub Desktop from the command line.

Platform navigation

  1. Open a command prompt.

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

    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 .