⚠️ Warning
This documentation is outdated. Please visit the documentation for TBlock 2.7.0 or later.

Install on macOS

⚠️ Warning
TBlock hasn't yet been officially tested on macOS, so there might be unresolved issues. If you do have TBlock installed on your macOS system, your feedback would be very much appreciated.

ℹ️ Info
The user interface is still work-in-progress for Windows and macOS. TBlock is only available as a command-line tool for both of these platforms. More information is available here.

Installation

If you are using macOS, you can install TBlock with the homebrew package manager.

Enable TBlock's third-party repository

$ brew tap tblock/tap https://codeberg.org/tblock/homebrew-tap

Install the package

$ brew install tblock

Troubleshooting

After installing, you might encounter the following error:

$ sudo tblock --init
sudo: tblock: command not found

Just append the following line to ~/.bashrc or ~/.zshrc, depending on your shell:

alias sudo="PATH=$PATH:$(brew --prefix)/bin:$(brew --prefix)/sbin sudo"