All I did was translate some of the script into English. I probably broke everything in the process. I don’t know what I’m doing. I say that cooking in the kitchen. I say that to my computer too. -quartzyeti
bash <(wget -qO- -o- https://github.com/quartzyeti/Xray/raw/main/install.sh)
The best Xray one-click installation script & management script
- Quick installation
- Invincible and easy to use
- Zero learning cost
- Automated TLS
- Simplify all processes
- Block BT
- Block Chinese IP
- Using API operations
- Compatible with Xray commands
- Powerful shortcut parameters
- Supports all common protocols
- One-click to add VLESS-REALITY (default)
- One-click to add Shadowsocks 2022
- One-click add VMess-(TCP/mKCP/QUIC)
- One-click addition of VMess-(WS/H2/gRPC)-TLS
- One-click addition of VLESS-(WS/H2/gRPC)-TLS
- One-click add Trojan-(WS/H2/gRPC)-TLS
- One-click addition of VMess-(TCP/mKCP/QUIC) dynamic ports
- One-click to enable BBR
- Change the disguised website with one click
- One-click change (port/UUID/password/domain name/path/encryption method/SNI/dynamic port/etc...)
- there are more...
Design concept: High efficiency, ultra-fast, extremely easy to use
The script is based on the author's own usage needs, with multiple configurations running simultaneously as the core design
And specially optimized, add, change, view, delete, these four common functions
You only need one command to complete operations such as adding, changing, viewing, deleting, etc.
For example, adding a configuration takes less than 1 second! It's added in a flash! The same goes for other operations!
The script parameters are very efficient and super easy to use. Please master the use of parameters.
Installation and usage: https://233boy.com/xray/xray-script/
Use: xray help
Xray script v1.21 by 233boy
Usage: xray [options]... [args]...
Basics:
v, version shows the current version
ip returns the IP address of the current host
pbk is equivalent to xray x25519
get-port returns an available port
ss2022 returns a password that can be used for Shadowsocks 2022
generally:
a, add [protocol] [args... | auto] Add configuration
c, change [name] [option] [args... | auto] Change configuration
d, del [name] delete configuration**
i, info [name] View configuration
qr [name] QR code information
url [name] URL information
log View log
logerr View error log
Change:
dp, dynamicport [name] [start | auto] [end] Change dynamic port
full [name] [...] Change multiple parameters
id [name] [uuid | auto] Change UUID
host [name] [domain] Change the domain name
port [name] [port | auto] Change port
path [name] [path | auto] Change path
passwd [name] [password | auto] Change password
key [name] [Private key | atuo] [Public key] Change key
type [name] [type | auto] Change masquerade type
method [name] [method | auto] Change the encryption method
sni [name] [ ip | domain] change serverName
seed [name] [seed | auto] Change mKCP seed
new [name] [...] Change protocol
web [name] [domain] Change masquerade website
Advanced:
dns [...] Set DNS
dd, ddel [name...] delete multiple configurations**
fix [name] Fix a configuration
fix-all fix all configurations
fix-caddyfile Fix Caddyfile
fix-config.json
manage:
un, uninstall
u, update [core | sh | dat | caddy] [ver] update
U, update.sh update script
s, status running status
start, stop, restart [caddy] start, stop, restart
t, test test run
reinstall reinstall script
test:
client [name] Displays the JSON used for the client, for reference only
debug [name] displays some debug information, for reference only
gen [...] is equivalent to add, but only displays JSON content, does not create files, and is used for testing
genc [name] Displays the JSON part used for the client, for reference only
no-auto-tls [...] Same as add, but disables automatic configuration of TLS, can be used for *TLS related protocols
xapi [...] is equivalent to xray api, but the API backend uses the currently running Xray server
other:
bbr Enable BBR, if supported
bin [...] runs Xray commands, for example: xray bin help
api, x25519, tls, run, uuid [...] compatible with Xray commands
h, help Display this help interface
Be careful when using del and ddel. This option will delete the configuration directly; no confirmation is required.
Feedback issues) https://github.com/233boy/xray/issues
Documentation (doc) https://233boy.com/xray/xray-script/