diff --git a/README.md b/README.md index 42ed208a2..cf9913074 100644 --- a/README.md +++ b/README.md @@ -108,12 +108,25 @@ This repo is organized as a [`cargo` workspace], containing several related proj curl -sSL https://raw.githubusercontent.com/apollographql/rover/v0.0.3/installers/binstall/scripts/nix/install.sh | sh ``` +**To download older versions of Rover**, use the `VERSION` env variable when executing the installer (note: the `v` in the version number): + +```bash +curl -sSL https://raw.githubusercontent.com/apollographql/rover/v0.0.3/installers/binstall/scripts/nix/install.sh | VERSION=v0.0.1 sh +``` + #### Windows PowerShell installer ```bash iwr 'https://raw.githubusercontent.com/apollographql/rover/v0.0.3/installers/binstall/scripts/windows/install.ps1' | iex ``` +**To download older versions of Rover**, use the `VERSION` env variable when executing the installer (note: the `v` in the version number): + +```bash +$Env:VERSION='v0.0.1'; iwr 'https://raw.githubusercontent.com/apollographql/rover/v0.0.3/installers/binstall/scripts/windows/install.ps1' | iex +``` + + #### npm installer Rover is distributed on npm for easy integration with your JavaScript projects. diff --git a/docs/source/getting-started.md b/docs/source/getting-started.md index 99ab12bcb..aac091c60 100644 --- a/docs/source/getting-started.md +++ b/docs/source/getting-started.md @@ -13,12 +13,23 @@ The Rover CLI is available for Linux, Mac, and Windows. curl -sSL https://raw.githubusercontent.com/apollographql/rover/v0.0.3/installers/binstall/scripts/nix/install.sh | sh ``` +**To download older versions of Rover**, use the `VERSION` env variable when executing the installer (note: the `v` in the version number): + +```bash +curl -sSL https://raw.githubusercontent.com/apollographql/rover/v0.0.3/installers/binstall/scripts/nix/install.sh | VERSION=v0.0.1 sh +``` #### Windows PowerShell installer ```bash iwr 'https://raw.githubusercontent.com/apollographql/rover/v0.0.3/installers/binstall/scripts/windows/install.ps1' | iex ``` +**To download older versions of Rover**, use the `VERSION` env variable when executing the installer (note: the `v` in the version number): + +```bash +$Env:VERSION='v0.0.1'; iwr 'https://raw.githubusercontent.com/apollographql/rover/v0.0.3/installers/binstall/scripts/windows/install.ps1' | iex +``` + #### npm installer Rover is distributed on npm for easy integration with your JavaScript projects.