CLI(Command line interface), Brook CLI is just one file, in other words, brook has no concept of installation, you only need to download the brook file to your computer. Brook CLI has both server and client functions.
You may need to run the below commands as root user or sudo, if you are not very familiar with linux, we recommend you to use ubuntu with root user.
Let's take the v20200909 version downloaded on linux amd64 as an example
$ curl -L https://github.com/txthinking/brook/releases/download/v20200909/brook_linux_amd64 -o /usr/bin/brook
$ chmod +x /usr/bin/brook
You can get the download link corresponding to your system on the releases page
Install via nami
Install nami
$ curl -L https://git.io/getnami | bash && sleep 6 && exec -l $SHELL
You may want more information on nami github page
$ nami install github.com/txthinking/brook