Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Installing SourceTree 1.8 in an Offline Environment



I'm currently using sourceTree in an offline environment, but the initial splashscreen requires connecting to the Atlassian webserver to start. Is there a way to bypass this and use the current license file I already have for sourceTree?

20 answers

1 accepted

13 votes
Answer accepted

It is possible to install SourceTree 1.8.2 on an offline Windows environment. This can be done by first installing it on an online computer and registering there. Next, copy the folder %USERPROFILE%\AppData\Local\Atlassian (or a subset, perhaps only \SourceTree\sourcetree.license) over to the offline computer. Then SourceTree runs. 

I have not yet verified that this solution is in line with the license agreement. Any idea? 

Confirmed this on Windows 7 x64 with The sourcetree.license file is no longer used. It appears to be a combination of the following:




Yup! This worked for me on Windows 7 x64 as well. Thank you.

Can we get a proper solution that isn't a workaround? Shouldn't this be logged as a bug somewhere or do the developers look at the questions here?

Like Florian Grand likes this

I copied over the accounts.json file and was able to start the program, then just opened the working directory.

This is incredibly unslick. Thanks, Atlassian!

If you have to copy the user.profile into the new installation, won't that contain the user details for whichever user registered the product? Is there a way of licencing it for corporate use, then stripping out the user details for a generic build?

Terrible!  This is not an answer, this is a hack.

Same here!
Our customer compliances disallows direct internet connections from our workplaces for security reasons!

This "feature" implies a very bad image to the security concept & considerations of Atlassian :-(

Seems that this is a bug so anyone affected should report it as such.

I couldn't find out how to do this the first time round because it was hidden away on the support site. Here's a direct link to report a SourceTree bug:

Awesome. Hope this fix will make it in quickly.

2 votes
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Feb 01, 2017

Hey Everyone - Unfortunately, we don't support offline installations. That said, it is a one-time registration and once you authenticate with a valid Atlassian account, you'll be able to use SourceTree entirely offline. In February, we updated our Terms and Conditions to align with Atlassian's Customer Agreement. The registration requires everyone to acknowledge those new terms and also ensure that SourceTree is distributed in accordance with Export Control laws. Sorry for the inconvenience this change has caused. 

Thank you for your support. 


SourceTree Product Manager 



Looks like I will have to migrate back to Github. :-(

Like Mostafa Dindar likes this

"Unfortunately, we don't support offline installations." But ... why?

Hi Rahul, this is very inconvenient and unacceptable for enterprises. How do you deploy/maintain sourcetree at atlassian? How do you force your users to use the latest sourcetree given the the amount of security advisories you send out for git and sourcetree?

I really think Atlassian should think about a way to enable unattended/silent installation for sourcetree, make it managable through sccm. You could validate, while silently installing, if there is a BitBucket Server instance on the local network or something. You are promoting this product and we are paying good money for BitBucket Server each year. We have over 1100 sourcetree installations in our company and they range from version 1.1 to 2.1.10. It's undoable and a great security risk. Please think about this and about your enterprise customers!

This arbitrary decision precludes the use of this product behind any security hardened network. It's very inconsistent way to manage products in the same suite of tools by the same company.

Being that there one needs to install online, there is currently a serious issue. If I uninstall Source Tree using Windows to uninstall, then run the install package, when I get to the login screen it is a blank screen, thus preventing me to install Source Tree.

Same problem at my company, which recently adopted Atlassian in a big way.  Enterprise customers are all going to have the same issue.  The need for this is perplexing, and the explanation above doesn't scan.  No one else does this.

Very recently there was an offline-installable version released, which I found by hunting through the boards.  It worked great in our hardened server network, and it seemed that Atlassian was going to fix this once and for all.  Now we're back to this same unnecessary problem with 2.3.5.  Not impressed with the support so far.

So, basically the "answer" is to tell companies who are trying to protect their software is that they doing something wrong. As for the comment about "Export Control Laws", if companies are hiding their own software away from the outside world then it would be awfully hard to export a tool they are using for their software.

You are aware that Atlassian made some steps since this discussion and Sourcetree for Enterprises is available from the website:

Though it still flaws at some points, it makes lives a lot easier for enterprises trying to manage their installed base ;)

@Rick van Twillert _TMC_ But that still doesn't allow you to install without having to register each time!

We are wanting to use it in an environment with mandatory profiles, so every time it gets launched you're having to essentially go through the registration process each time...It's nuts.

I have to agree with @Craig.
The "Enterprise Solution" forces every user to go through the final setup after installation (Registration/Login).
This is an unacceptable solution in mid-size or larger companies because it unnecessarily increases the support effort for the software (Keyword: Unattended Deployment).

I could share the information, how we handle this in our company at the moment (from a "technial view"), if you are interested?

Like Craig likes this

@burgerS - I would be interested to here your thoughts for sure

@Rahul Chhabria it's not exactly "unfortunate" when it's functionality that SourceTree deliberately removed.

For us this effectively prevents further usage of SourceTree in our company as we automate software distribution for wide-spread products, including automatic (controlled) rollout of updates etc. ...

Very non-customer-oriented move by Atlassian :-(

I guess Atlassian doesn't want us using their software.  If older versions supported it, and now newer ones don't, that's sending a pretty clear message to customers.  

I'll think twice next time a conversation about purchasing newer tools comes up.

Same here. An option to import a license file like 1.5, 1.6, 1.7 would be nice.

Same problem. Trying to install on a Windows Server with no internet...

Got same problem. Offline, without access to HTTPs, only SSH to Bitbucket.

We may switch to GitExtensions.

I'll add my voice here too.  Completely unable to use sourcetree now because of our development environment being complete "air-gapped" from the internet.

What's next?  JIRA needing a connection to upgrade?

Guess I'm luck we still have 1.6 running behind our firewall sadsad.

Same issue.. not able to install without internet

any progress on getting sourcetree in offline environment?

SourceTree Version 1.9.1 (Early Release) suffers from the same issue - it wouldn't let you go on without logging into Atlassian.

I am trying to install in an ONLINE environment but each time I attempt to login to My Atlassian the result is a 403 forbidden.  How frustrating!!!


Everything was working fine until I upgraded.

Thanks for the info, all. FYI - I've posted a new question focused on licensing / pre-configured installs at

I did a diff on the contents of %USERPROFILE%\AppData\Local\Atlassian from a clean installation before and after registering online.

%USERPROFILE%\AppData\Local\Atlassian\SourceTree\accounts.json is created.

%USERPROFILE%\AppData\Local\Atlassian\SourceTree.exe_Url_<hash>\\Startup.Profile is modified.

%USERPROFILE%\AppData\Local\Atlassian\SourceTree.exe_Url_<hash>\\user.config is modified.

After some cursory analysis, my guess is the registration is getting baked into one of the binary objects stored in user.config

And I have the same problem (on Windows).

Same problem. Just updated my SourceTree in isolated network and couldn't start it...

Likewise. Updated to 1.8.2 today hoping the licensing system might have been simplified (educational environment, trying to get SourceTree to work well in my classroom, where computers re-image when rebooted). Appears that the opposite has happened, and our offline license file no longer works – getting splash screen / requirement to connect after updating from 1.6.

All help topics on corporate licensing I could find (e.g., have the following message:


Is there no longer a corporate license key option?


Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events