QuickJS@quickjs-ng builder
The recommended way to install QuickJS for use as a CLI REPL is to use jsvu
. You can also download the QuickJS releases directly if you prefer. This *-builder
project exists for another purpose: to build the .a
/.lib
QuickJS static libraries for you. Why? So that you can use them in your Go, Rust, Zig, etc. toolchain without worrying about compiling the QuickJS project yourself.
https://github.com/jcbhmr/quickjs-builder/releases/download/$TAG/quickjs-aarch64-apple-darwin.tar.gz
https://github.com/jcbhmr/quickjs-builder/releases/download/$TAG/quickjs-x86_64-apple-darwin.tar.gz
https://github.com/jcbhmr/quickjs-builder/releases/download/$TAG/quickjs-x86_64-pc-windows-msvc.zip
https://github.com/jcbhmr/quickjs-builder/releases/download/$TAG/quickjs-x86_64-unknown-linux-gnu.tar.gz
cd quickjs
cmake -B build
cmake --build build