1## Installation
2
3`tfswitch` is available for MacOS and Linux based operating systems.
4
5### Homebrew
6
7Installation for MacOS is the easiest with Homebrew. <a href="https://brew.sh/" target="_blank">If you do not have homebrew installed, click here</a>.
8
9```ruby
10brew install warrensbox/tap/tfswitch
11```
12
13### Linux
14
15Installation for Linux operation systems.
16
17```sh
18curl -L https://raw.githubusercontent.com/warrensbox/terraform-switcher/release/install.sh | bash
19```
20
21### Arch User Repository (AUR) packages for Arch Linux
22
23```sh
24# compiled from source
25yay tfswitch
26
27# precompiled
28yay tfswitch-bin
29```
30
31### Install from source
32
33Alternatively, you can install the binary from the source <a href="https://github.com/warrensbox/terraform-switcher/releases" target="_blank">here</a>.
34
35[Having trouble installing](https://tfswitch.warrensbox.com/Troubleshoot/).
36
37
38