diff --git a/README.md b/README.md index dda836e..8a6a9d0 100644 --- a/README.md +++ b/README.md @@ -18,46 +18,48 @@ installed: /etc/systemd/system/xray.service installed: /etc/systemd/system/xray@.service ``` -## Usage +## Basic Usage -### Install & Upgrade Xray-core +**Install & Upgrade Xray-core and geodata with User nobody, but will NOT overwrite User in existing service files** ``` -# bash <(curl -L https://raw.githubusercontent.com/XTLS/Xray-install/main/install-release.sh) install +# bash <(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh) install ``` -### Install & Upgrade Xray-core with user root +**Update geoip.dat and geosite.dat only** ``` -# bash <(curl -L https://raw.githubusercontent.com/XTLS/Xray-install/main/install-release.sh) install -u root +# bash <(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh) install-geodata ``` -### Install & Upgrade Xray-core without .dat files +**Remove Xray, except json and logs** ``` -# bash <(curl -L https://raw.githubusercontent.com/XTLS/Xray-install/main/install-release.sh) install --without-geodata +# bash <(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh) remove ``` -### Install & Update geoip.dat and geosite.dat only +## Advance + +**Install & Upgrade Xray-core and geodata with User root, which will overwrite User in existing service files** ``` -# bash <(curl -L https://raw.githubusercontent.com/XTLS/Xray-install/main/install-release.sh) install-geodata +# bash <(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh) install -u root ``` -### Remove Xray +**Install & Upgrade Xray-core without geodata** ``` -# bash <(curl -L https://raw.githubusercontent.com/XTLS/Xray-install/main/install-release.sh) remove --purge +# bash <(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh) install --without-geodata ``` -### Remove Xray, except json and logs +**Remove Xray, include json and logs** ``` -# bash <(curl -L https://raw.githubusercontent.com/XTLS/Xray-install/main/install-release.sh) remove +# bash <(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh) remove --purge ``` -### More useages +## More Usage ``` -# bash <(curl -L https://raw.githubusercontent.com/XTLS/Xray-install/main/install-release.sh) help +# bash <(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh) help ```