Get CKB Binary on Windows (experimental)
Please note that Support for Windows is experimental. CKB is known to have serious performance issues when running in Windows. All commands listed below should be used through PowerShell.
Build from Source
Setup the Build Environment
Install Visual Studio 2019
Install Visual Studio 2019 with the workload: "Desktop development with C++".
minimum requirements: You can just select two individual components: "MSVC v142 - VS 2019 C++ x64/x86 build tools (vXX.XX)" and "Windows 10 SDK (10.0.X.0)".
Scoop
Install Tools withInstall Scoop.
Install
git
,llvm
,yasm
andrustup
via Scoop.scoop install git scoop install llvm scoop install yasm scoop install rustup
Install dependencies.
Add "extras" bucket for Scoop.
scoop bucket add extras
yasm
requires Microsoft Visual C++ 2010 runtime Libraries.scoop install vcredist2010
Configure
Rust
.rustup set default-host x86_64-pc-windows-msvc
Build CKB on Windows 10
Checkout the source code of CKB.
git clone https://github.com/nervosnetwork/ckb cd ckb
Build CKB.
devtools/windows/make prod
Download from Releases
We publish binaries for each release via Github Releases. You can download the package directly.The Windows packages are for experiments only and have significant performance issues, we don't recommend to use them in production environment.They requires The Visual C++ Redistributable Packages, which can be downloaded under section Other Tools and Frameworks here or here.