From 7058e26be3da4f96ff02fdd755cb6976aa98be60 Mon Sep 17 00:00:00 2001 From: Pascal Bouquet Date: Sat, 19 Apr 2025 15:34:09 +0200 Subject: [PATCH] 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 --- INSTALL.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/INSTALL.md b/INSTALL.md index 7db265a..9b0e98f 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -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