Example of using install rules for Bazel To install a "hello world" binary in ~/bin run: rules_install/examples$ bazel run -c opt //:install_hello_world ~/bin