How do you automate Appium installation?

My team would like to automate the installation of Appium so that everyone can get started writing tests quickly. We’ve considered using Docker, but from my limited research it seems this is only feasible for Android tests (correct me if I’m wrong). We’ve also considered using Homebrew and Cask (for Apple users). Do you have a preferred method for automating Appium installation? Tell me about it!