As @wd mention, see https://www.jetify.com/devbox/docs/faq/#how-can-i-uninstall-devbox
according to file https://get.jetpack.io/devbox/
sudo rm /usr/local/bin/devbox - Bring up
Disk Utilitiesthen go and removeNix Store, check usinglsof +D /nix1 - see this NixOS/nix#1402 (comment), if you using omz should delete NIX export
devbox has a doc for this; there are a lot of things that need to be done.
https://www.jetify.com/devbox/docs/faq/#how-can-i-uninstall-devbox