You can run the installation script by opening a terminal window, pasting in the following and pressing enter:
It will probably ask for your password. As you type, characters won't be echoed to the screen. A lot of confusing info will scroll past. Just let it run until the end. Tidal should thereafter be installed on your computer.
The script installs the tools mentioned in TidalCycles manual installation guide. In particular, the script checks if the following programs are installed on the system, and installs them if they are missing.
- SuperCollider (and SuperDirt)
- Atom (and the Tidal Cycles Plugin)
- Haskell Language (Ghcup)
- The Tidal Pattern engine (Tidal Cycles itself)
Before installing Tidal, make sure to install Haskell (via Ghcup), SuperCollider with SC3 Plugins, Git. You also need to choose and install a text editor for interacting with Tidal Cycles (see the sidebar).
In a terminal window, we will add the path to our GHC installation to a file that is executed by our terminal every time it loads. For macOS 10.14 or before, the terminal uses bash, so the file we need to modify is .bashrc:
For macOS10.15 Catalina, the terminal uses zsh, so the file we need to modify is .zshrc:
After this, we will use cabal to first update it package directory, and then to install the TidalCycles library. We will also run these two commands every time we want to update our TidalCycles library to the latest version.
If you've never installed TidalCycles before, then the
cabal install tidal --lib step may take some time. At the end of the
command output, it should say
Installed tidal-x.x.x (where x.x.x is
the latest version number) without any errors.
Start your freshly installed version of SuperCollider. Paste the following line of code in the text editor you see and press Cmd+Return to evaluate :
Run the code by clicking on it, to make sure the cursor is on this line, then hold down Shift and press Enter.
It'll take a while to install. You'll see something like the following:
Look at the sidebar. You will see a list of text editors you can install to interact with Tidal and start playing 😄.