Add one-liner installation command for easier setup

Added a compact one-liner installation command that installs all dependencies,
clones the Git repository, sets up a symbolic link to ~/.local/bin,
makes the script executable, and adds a Bash alias.

This makes it easy for users to set up the tool with a single copy-paste command,
especially useful for quick testing or sharing in forums and chats.

USE WITH CARE
This commit is contained in:
Pascal Bouquet 2025-04-19 15:34:09 +02:00
parent 552c170959
commit 7058e26be3

View File

@ -32,3 +32,8 @@ chmod +x ~/.local/bin/chkip
echo -e "alias chkip='python3 ~/.local/bin/chkip'" >> $HOME/.bashrc
source ~/.bashrc
```
### für Kopierfaule ein Onliner (use with care!!!)
```bash
sudo apt update && sudo apt install -y python3 python3-pip git python3-dnspython python3-requests && cd && git clone https://git.bouquet24.de/paase/chkip.git && cd chkip && mkdir -p ~/.local/bin && ln -s "$PWD/chkip.py" ~/.local/bin/chkip && chmod +x ~/.local/bin/chkip && echo "alias chkip='python3 ~/.local/bin/chkip'" >> ~/.bashrc && source ~/.bashrc