From d0c48d8c53cfda574e90104db04a62d50e186cb1 Mon Sep 17 00:00:00 2001 From: ruki Date: Fri, 3 Mar 2023 22:57:47 +0800 Subject: update readme --- README.md | 4 ++-- README_zh.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 23ef89235..a31ec7484 100644 --- a/README.md +++ b/README.md @@ -92,13 +92,13 @@ If you want to know more, please refer to: [Documents](https://xmake.io/#/gettin #### via curl ```bash -bash <(curl -fsSL https://xmake.io/shget.text) +curl -fsSL https://xmake.io/shget.text | bash ``` #### via wget ```bash -bash <(wget https://xmake.io/shget.text -O -) +wget https://xmake.io/shget.text -O - | bash ``` #### via powershell diff --git a/README_zh.md b/README_zh.md index e9c384b8c..db9a8f0a8 100644 --- a/README_zh.md +++ b/README_zh.md @@ -100,13 +100,13 @@ xmake 官方也推出了一些入门课程,带你一步步快速上手 xmake #### 使用curl ```bash -bash <(curl -fsSL https://xmake.io/shget.text) +curl -fsSL https://xmake.io/shget.text | bash ``` #### 使用wget ```bash -bash <(wget https://xmake.io/shget.text -O -) +wget https://xmake.io/shget.text -O - | bash ``` #### 使用powershell -- cgit v1.3.1