1
install tea tool
tischrei edited this page 2023-04-05 08:23:41 +00:00
Installation of tea (Gitea) CLI tool
This tool is used to interact with Gitea via CLI to e.g. create PullRequests.
Prerequisits
- ssh public-key for Gitea
- An Access Token
- Gitea -> Settings -> Applications -> Manage Access Tokens -> <Token-Name> -> Generate Token
Installation
Run the following command to get the tea
tool and change permissions.
sudo wget https://dl.gitea.com/tea/0.9.2/tea-0.9.2-linux-amd64 -O /usr/local/bin/tea
sudo chmod +x /usr/local/bin/tea
Authentication with tea
Run the following command to authenticate against our Gitea.
tea login add
Add the following information and your personal Access Token
.
