<p>Yep you sure can instructions can be found at <a href="https://github.com/bitcoin/bitcoin/blob/master/doc/build-windows.md" rel="nofollow noreferrer">https://github.com/bitcoin/bitcoin/blob/master/doc/build-windows.md</a>.</p>

<p>And the provided build scripts all use static linking so you end up with one big executable that does not require installing any dependencies on your Windows machine.</p>

CC BY-SA 3.0
2017-12-08T10:19:18.497Z
In fact, the Bitcoin Core release binaries for Windows are produced using an Ubuntu VM.
Pieter Wuille
CC BY-SA 3.0
2017-12-08T10:16:24.903Z
2017-12-08T10:16:24.903Z
sipsorcery
<p>I am using an ubuntu machine and have compiled the bitcoin source code a few times without issue. I am able to use <code>bitcoin-qt</code> just fine in the terminal to load the interface, but I'm wondering if I can make the code into a .exe file and put that file onto windows and run the client there without dependencies.</p>

<p>Is it possible to do that? Or will I have to install the dependencies on windows and compile in windows into a binary that requires no dependencies?</p>

<bitcoin-core>
Is it possible to build bitcoin source code into a windows .exe file, using Ubuntu?
Dev Oskii
# Is it possible to build bitcoin source code into a windows .exe file, using Ubuntu?

(Asked by: username_0 on 2017-12-08)

I am using an ubuntu machine and have compiled the bitcoin source code a few times without issue. I am able to use `bitcoin-qt` just fine in the terminal to load the interface, but I'm wondering if I can make the code into a .exe file and put that file onto windows and run the client there without dependencies.

Is it possible to do that? Or will I have to install the dependencies on windows and compile in windows into a binary that requires no dependencies?

**Tags:** bitcoin-core


---

## 1 answers

### Answer by username_1 on 2017-12-08. Score: 1 | Accepted answer

Yep you sure can instructions can be found at <https://github.com/bitcoin/bitcoin/blob/master/doc/build-windows.md>.

And the provided build scripts all use static linking so you end up with one big executable that does not require installing any dependencies on your Windows machine.

> **Comments:**
> **username_2**: In fact, the Bitcoin Core release binaries for Windows are produced using an Ubuntu VM.  

---

