summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md2
-rw-r--r--README_zh.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index c8a84b6ce..623f76bab 100644
--- a/README.md
+++ b/README.md
@@ -102,7 +102,7 @@ wget https://xmake.io/shget.text -O - | bash
### With PowerShell
```sh
-Invoke-Expression (Invoke-Webrequest 'https://xmake.io/psget.text' -UseBasicParsing).Content
+irm https://xmake.io/psget.text | iex
```
### Other installation methods
diff --git a/README_zh.md b/README_zh.md
index 5273af48e..d844cd7a0 100644
--- a/README_zh.md
+++ b/README_zh.md
@@ -109,7 +109,7 @@ wget https://xmake.io/shget.text -O - | bash
#### 使用powershell
```powershell
-Invoke-Expression (Invoke-Webrequest 'https://xmake.io/psget.text' -UseBasicParsing).Content
+irm https://xmake.io/psget.text | iex
```
#### 其他安装方式