A comprehensive cross-platform moyu tool.
Current version: v1.0.8
- For Linux: connect to internet and execute the below command in Terminal:
bash <(curl -fsSL https://raw.githubusercontent.com/chenh19/moyu/main/linux_moyu.sh)
- For MacOS: connect to internet and execute the below command in Terminal:
bash -c "$(curl -fsSL https://raw.githubusercontent.com/chenh19/moyu/main/mac_moyu.sh)"
- For Windows: connect to internet and execute the below command in Command Prompt:
curl -fsSL https://raw.githubusercontent.com/chenh19/moyu/main/win_moyu.bat -o %HOMEPATH%\win_moyu.bat && %HOMEPATH%\win_moyu.bat && del /f %HOMEPATH%\win_moyu.bat
(Or, you may directly download the latest win_moyu.bat
and double click to run, especially if you use PowerShell)
- You will be asked to specify a raw script on GitHub to moyu, such as:
https://raw.githubusercontent.com/chenh19/BRStudio/master/BRStudio.R
orhttps://gitee.com/chenh19/BRStudio/raw/master/BRStudio.R
if you don't have access to GitHub - You will also be asked to specify a time duration to moyu (minutes), such as:
15
- If you would like to stop moyu immediately, simply press
Ctrl+C
- Moyu currently does not work in PowerShell with the one-line
curl
command on Windows, likely because PowerShell uses$env:HOMEPATH
instead of%HOMEPATH%
($env:HOMEPATH
does not containC:\
, either) - Moyu currently downloads but does not echo on CentOS 7 (thanks for reporting by Irene), likely because the bash on old Linux is not compatible with
line 28
(bothline 27
andline 29
work)