summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2023-03-03 22:57:47 +0800
committerruki <[email protected]>2023-03-03 22:57:47 +0800
commitd0c48d8c53cfda574e90104db04a62d50e186cb1 (patch)
treed395273f79ac8c100136fa2c3c1e4205b9e73730
parent35a4cff31c0090e75b04ad1ef41a1c517b3c45ae (diff)
update readme
-rw-r--r--README.md4
-rw-r--r--README_zh.md4
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