Load Sourcetree from current directory location in terminal

I'm frequently in the git repo I'm working with inside the terminal. I'd like to open an instance of Sourcetree from the terminal window. Is there a command I can run, either if it's a new repo that hasn't opened inside of Sourcetree as of yet, or opening a project thats already bookmarked?

The start of my troubles lies here

$sourcetree ./

bash: sourcetree: command not found


2 answers

1 accepted

0 votes
Accepted answer
David Simpson Community Champion Oct 02, 2012

Try here:

Then type stree at the command line.

My menu shows differently

I found a 1.5.4 download right now. I'm upgrading versions and will mark solved if this helps.

David Simpson Community Champion Oct 02, 2012
It looks like you we're using a different v1.5.3 to me. Different menus & different open source libraries included. It's ashame that the exact build number isn't displayed in the "About" dialog.

I mostly have been using the app store version of Source tree. When I grabbed the web site version, I got the additional menu items.

Any way to manually install this (i.e. something to add to path our source from our bashrc / bash_profile)? The menu option to "install command line tools" fails for me: https://answers.atlassian.com/questions/30955938/sourcetree-install-command-line-tools-fails-on-yosemite-version-10.10.5

I can't find the menu option SourceTree > Install Command Line Tools I'm using 1.5.3

Suggest an answer

Log in or Sign up to answer
Community showcase
Published yesterday in Agile

Try the new Jira Cloud add-on for Google Sheets

Hi Atlassian community, I work on the product integration team at Atlassian and I am very excited to announce the early access program for the Jira Cloud add-on for Google Sheets. This add-on giv...

154 views 1 7
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you