- Install FreeBSD 13.2 in a VM and create dummy account, call it
bun
for example - Install these packages as root using
pkg install
ccache cmake git go libiconv libtool gmake ninja pkgconf python rust unzip ruby automake bash llvm16 llvm17 gcc13-dev npm icu libsysinfo
- Change
bun
's shell to/usr/local/bin/bash
usingchsh
( I recommend installing neovim and running the command asEDITOR=nvim chsh
)
now always login as
bun
user
- Clone these repos - there is space between urls,
git clone
each one separately
https://github.com/Bun-BSD/codegen.git https://github.com/oven-sh/WebKit.git https://github.com/ziglang/zig.git https://github.com/Bun-BSD/bun.git
Now we will compile all deps, make sure you are in home directory each time
- Building WebKit
- In your home directory create
webkit.sh
and write this into it
- In your home directory create