Check the following link for mac os users
https://wpbeaches.com/updating-to-php-versions-7-4-and-8-on-macos-11-big-sur-and-catalina/
brew tap shivammathur/php
tymon/jwt-auth not supports php 8.0.8
try this
composer require tymon/jwt-auth --ignore-platform-reqs