- Install FreeBSD 13.2 in a VM and create dummy account, call it
bunfor 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/bashusingchsh( I recommend installing neovim and running the command asEDITOR=nvim chsh)
now always login as
bunuser
- Clone these repos - there is space between urls,
git cloneeach 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.gitNow we will compile all deps, make sure you are in home directory each time
- Building WebKit
- In your home directory create
webkit.shand write this into it
- In your home directory create