Requirements
- macOS or Linux, on amd64 or arm64.
- The Google Cloud CLI on
PATH, version 550.0.0 or later. - An SSH client (
ssh) onPATH. - A network that allows outbound HTTPS with WebSockets to
tunnel.cloudproxy.app.
openssh-client and ca-certificates.
Your Google Cloud project also needs some APIs, a firewall rule, and IAM roles.
First connection lists them.
Install the free bqto
- Install script
- Homebrew
- By hand
- From source
checksums.txt of the release, and puts bqto in /usr/local/bin.- To install one release, set
BQTO_VERSION, for exampleBQTO_VERSION=v0.16.0. - To install into another folder, set
BQTO_INSTALL_DIR, for exampleBQTO_INSTALL_DIR=~/.local/bin. - If GitHub limits the requests from your address, give the script a token:
curl … | GITHUB_TOKEN=$(gh auth token) sh.
Install bqto Pro
bqto Pro turns on its Pro features only with a license key.
Start a free trial or buy a seat to get one. Without a valid key, bqto Pro works as the free bqto.
checksums.txt with their SHA-256.
- Install script
- Homebrew
bqto in /usr/local/bin. If that folder needs your password, the script
asks for it. To use another folder, set BQTO_INSTALL_DIR. The script replaces a free bqto
that is already in that folder. If another bqto comes first on your PATH, the script tells
you.If you already have the free bqto
bqto Pro does everything the free bqto does, and both are calledbqto. So you can replace the
free one.
-
If the free bqto came from Homebrew, remove it first. The two casks conflict.
-
To see which
bqtoruns, run:If anotherbqtocomes first on yourPATH, delete it or change the order of yourPATH. A free bqto fromgo installis in$(go env GOPATH)/bin. -
Open a new terminal, or run
hash -r. -
To check that it is bqto Pro, run
bqto version. bqto Pro printsbqto Proand its release:The free bqto prints onlybqtoand its release, such asbqto v0.10.0.
Update
bqto version prints the version and asks GitHub for the newest release. If a newer release
exists, it says so on stderr:
bqto 0.16.1 fixes a security issue in your version. No other command looks for updates, and
nothing runs in the background.
bqto update installs the newest release. It updates bqto only when you run it. What it does
depends on how you installed bqto:
If the folder of the binary is not yours, such as
/usr/local/bin, bqto update asks for your
password once, through sudo. Do not run sudo bqto update.
bqto Pro looks for a newer version in the releases of pilef-co/bqto-pro-releases. It stops
waiting after about 5 seconds. If GitHub limits requests from your address, set GITHUB_TOKEN. A bqto Pro from
Homebrew updates with Homebrew:
bqto version --output json prints version, latest, update_available, and security
(always false for bqto Pro). It prints no notice.
Shell completion
bqto completion prints a completion script for bash (3.2 or later), zsh, or fish. With the script,
Tab completes the commands, the flags of bqto connect, and the values of --service and
--output.
To turn completion on, add the line for your shell to its startup file. Then open a new terminal.
- Bash
- Zsh
- Fish
~/.bash_profile instead of
~/.bashrc. Put the line there.Uninstall
Delete thebqto binary. command -v bqto shows where it is:
- The install script puts it in
/usr/local/bin, or in the folder that you gave inBQTO_INSTALL_DIR. go installputs it in$(go env GOPATH)/bin.
bqto license deactivate first, to free the computer’s place on your seat. Then you can
also delete config.toml and license.json in the bqto config folder.
Cleanup lists the files that a session can leave behind.
You can delete them too.