microsoft / dev-proxy

Dev Proxy is an API simulator that helps you effortlessly test your app beyond the happy path.
https://aka.ms/devproxy
MIT License
466 stars 55 forks source link

Updates Linux setup scripts. Closes #744 #746

Closed waldekmastykarz closed 2 months ago

waldekmastykarz commented 2 months ago

To pass a specific version to the bash script, run:

bash -c "$(curl -sL https://aka.ms/devproxy/setup.sh)" v0.16.0

To pass a version to the PowerShell script, set it as an env var and run the script:

$env:DEV_PROXY_VERSION = "v0.16.0"
(Invoke-WebRequest https://aka.ms/devproxy/setup.ps1).Content | Invoke-Expression
waldekmastykarz commented 2 months ago

When this PR is merged, let's update the CI/CD guidance to show the right way of pinning versions