4
vcpkg
Daniel Lemire edited this page 2025-08-14 09:34:37 -04:00

Usage (Using vcpkg on Windows, Linux and macOS)

vcpkg users on Windows, Linux and macOS can download and install simdjson with one single command from their favorite shell.

On 64-bit Linux and macOS:

$ ./vcpkg install simdjson

will build and install simdjson as a static library.

On Windows (64-bit):

.\vcpkg.exe install simdjson:x64-windows

will build and install simdjson as a shared library.

These commands will also print out instructions on how to use the library from MSBuild or CMake-based projects.

For a complete demonstration see: https://github.com/simdjson/simdjson-vcpkg

If you find the version of simdjson shipped with vcpkg is out-of-date, feel free to report it to vcpkg community either by submitting an issue or by creating a PR.

Be aware that GCC under Windows is buggy. We discourage the use of GCC under Windows.