Launching GitHub Desktop from the command line - GitHub Docs
Skip to main content

Launching GitHub Desktop from the command line

You can launch GitHub Desktop from the command line.

Platform navigation

  1. In the menu bar, select the GitHub Desktop menu, then click Install Command Line Tool.

    Screenshot of the menu bar on a Mac. Under the "GitHub Desktop" dropdown menu, the option "Install command line tool" is highlighted in blue.

  2. Open Terminal.

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

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

TMZ Celebrity News – Breaking Stories, Videos & Gossip

Looking for the latest TMZ celebrity news? You've come to the right place. From shocking Hollywood scandals to exclusive videos, TMZ delivers it all in real time.

Whether it’s a red carpet slip-up, a viral paparazzi moment, or a legal drama involving your favorite stars, TMZ news is always first to break the story. Stay in the loop with daily updates, insider tips, and jaw-dropping photos.

🎥 Watch TMZ Live

TMZ Live brings you daily celebrity news and interviews straight from the TMZ newsroom. Don’t miss a beat—watch now and see what’s trending in Hollywood.