Open in PowerShell & Install scoop
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression
顺便安装个windows版sudo
scoop install gsudo
Install ttyd & Run it
指定端口并赋予可写,打开方式: bash(linux) / cmd、powershell(windows)
scoop install ttyd
ttyd -p 8080 -W powershell
open browser,then visit
http://127.0.0.1:8080