Skip to content

Commit

Permalink
docs: separate Debian and Homebrew install instructions for previous …
Browse files Browse the repository at this point in the history
…DDEV versions, link to it from Building, Testing, and Contributing page (ddev#6631) [skip ci]

Co-authored-by: Stanislav Zhuk <[email protected]>
  • Loading branch information
gitressa and stasadev authored Oct 20, 2024
1 parent 788720e commit a6d7d23
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
4 changes: 4 additions & 0 deletions docs/content/developers/building-contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ Each [PR build](https://github.com/ddev/ddev/actions/workflows/pr-build.yml) cre

Download and unzip the appropriate binary and place it in your `$PATH`.

## Rollback to a previous version

You can also [downgrade to an older version of DDEV](../users/usage/faq.md#how-can-i-install-a-specific-version-of-ddev).

### Homebrew with macOS or Linux

If you’re using Homebrew, start by unlinking your current binary:
Expand Down
11 changes: 8 additions & 3 deletions docs/content/users/usage/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,12 +221,17 @@ You can use the [`ddev self-upgrade`](../usage/commands.md#self-upgrade) command

### How can I install a specific version of DDEV?

#### Debian, Ubuntu, or WSL2

For Debian/Ubuntu/WSL2 with DDEV installed via apt, you can run `sudo apt-get update && sudo apt-get install ddev=<version>`, for example `sudo apt-get install ddev=1.23.4` to run a previous, older version of DDEV.

#### Homebrew

If you’re using Homebrew, first run `brew unlink ddev` to get rid of the version you have there. Then use one of these options:

1. Download the version you want from the [releases page](https://github.com/ddev/ddev/releases) and place it in your `$PATH`.
2. Use the [install_ddev.sh](https://raw.githubusercontent.com/ddev/ddev/master/scripts/install_ddev.sh) script with the version number argument. For example, if you want v1.21.5, run `curl -fsSL https://ddev.com/install.sh | bash -s v1.21.5`.
3. On Debian/Ubuntu/WSL2 with DDEV installed via apt, you can run `sudo apt-get update && sudo apt-get install ddev=<version>`, for example `sudo apt-get install ddev=1.21.5`.
4. If you want the very latest, unreleased version of DDEV, run `brew unlink ddev && brew install ddev/ddev/ddev --HEAD`.
2. Use the [install_ddev.sh](https://raw.githubusercontent.com/ddev/ddev/master/scripts/install_ddev.sh) script with the version number argument. For example, if you want v1.23.4, run `curl -fsSL https://ddev.com/install.sh | bash -s v1.23.4`.
3. If you want the very latest, unreleased version of DDEV, run `brew unlink ddev && brew install ddev/ddev/ddev --HEAD`.

### Why do I have an old DDEV?

Expand Down

0 comments on commit a6d7d23

Please sign in to comment.