Skip to main content

server

This document provides an overview of the commands and options available under buck2 server.

buck2 server

Start, query, and control the buck2 server, a long-lived process, spanning buck2 command line invocations. Using this command can ensure the daemon is running.

To stop a specific server, use buck2 kill and add --isolation-dir for a specific instance. To stop all instances, use buck2 killall.

Usage: buck2 server