If you haven't heard of or taken the time to learn jq, you should. It's a lovely little way to manipulate JSON in the terminal.
Why is this step necessary? mastodon.technology might not be the server where you are registered, so we need to redirect you to your home server first.
Don't have an account? You can sign up here