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:
parent
552c170959
commit
7058e26be3
@ -32,3 +32,8 @@ chmod +x ~/.local/bin/chkip
|
|||||||
|
|
||||||
echo -e "alias chkip='python3 ~/.local/bin/chkip'" >> $HOME/.bashrc
|
echo -e "alias chkip='python3 ~/.local/bin/chkip'" >> $HOME/.bashrc
|
||||||
source ~/.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
|
||||||
|
Loading…
Reference in New Issue
Block a user