if [ "$___X_CMD_WEBSRC_REGION" = "cn" ]; then curl -sfL https://rancher-mirror.rancher.cn/k3s/k3s-install.sh | INSTALL_K3S_MIRROR=cn sh -else curl -sfL https://get.k3s.io | sh -fi
Help us make these docs great!
All X-CMD docs are generated from command help and multiple data sources. See something that's wrong or unclear? Feel free to let us know through any of these ways~