1. Open powershell directly
2. Enter
Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh')
# or shorter
iwr -useb get.scoop.sh | iex
3. When the installation is complete, create a new d:\pst.txt, and enter the content of the database link
db-uri = "postgres://postgres:你的密码@127.0.0.1:5432/数据名字"
db-schema = "public"
db-anon-role = "postgres"
db-pool = 10
db-pool-timeout = 10
server-host = "0.0.0.0"
server-port = 3000
4. Execute powershell to execute scoop install postgrest
5.postgrest d:\pst.txt
Success, the premise is that you have installed the pgsql database