Run the brz server.


brz serve


By default the server is a readonly server. Supplying –allow-writes enables write access to the contents of the served directory and below. Note that brz serve does not perform authentication, so unless some form of external authentication is arranged supplying this option leads to global uncontrolled write access to your file system.


Override the default idle client timeout (5min).

-d ARG, --directory=ARG

Serve contents of this directory.

-h, --help

Show help message.


Serve on stdin/out for use from inetd or sshd.


Listen for connections on nominated address.


Listen for connections on nominated port. Passing 0 as the port number will result in a dynamically allocated port. The default port depends on the protocol.

-q, --quiet

Only display errors and warnings.


Show usage message and options.

-v, --verbose

Display more information.


Protocol to serve.


The Bazaar smart server protocol over TCP. (default port: 4155)


Git Smart server protocol over TCP. (default port: 9418)


Git Smart server receive pack command. (inetd mode only)


Git Smart server upload pack command. (inetd mode only)