Installation
Csound can be installed on various platforms either through pre-built binaries or by building from source. This guide covers all major platforms and installation methods.Requirements
Before installing Csound, ensure you have:- A supported operating system (macOS, Linux, Windows, iOS, or Android)
- For building from source: CMake, C compiler toolchain, Flex, and Bison
For most users, we recommend installing pre-built binaries. Building from source is only necessary if you need custom configurations or want to contribute to development.
Pre-built binaries
- Download releases
- Beta builds
The easiest way to get started with Csound is to download pre-built installers:
Visit the releases page
Go to github.com/csound/csound/releases to find the latest stable release.
Choose your platform
Download the appropriate installer for your operating system:
- macOS:
.dmginstaller - Windows:
.exeinstaller - Linux:
.debor.rpmpackages
Building from source
Prerequisites
All platforms require:macOS
- Using Homebrew
- With dependencies installed
- Vanilla (no Homebrew)
The recommended method for macOS users:
The CsoundLib64 framework will be installed to
$HOME/Library/Frameworks.Linux (Ubuntu/Debian)
Windows (Visual Studio)
iOS
Android
Android builds require the Android NDK and SDK. Refer to the Android directory in the source repository for detailed instructions.WebAssembly
Csound can be compiled to WebAssembly for use in web browsers. See the Emscripten directory in the source repository for build instructions.CMake configuration options
Customize your build with these common options:Installation directory for Csound
Enable libsndfile for soundfile I/O. Disable if libsndfile is not available.
Use libsamplerate for high-quality sample rate conversion. When disabled, Csound uses linear interpolation.
Build all external opcodes as plugin libraries.
Path to a custom.cmake file with additional build options.
View all options
To see the complete list of CMake options:Verifying your installation
After installation, verify Csound is working:Troubleshooting
Command not found after installation
Command not found after installation
Make sure the Csound binary is in your system PATH. On macOS and Linux, you may need to add
/usr/local/bin to your PATH.Audio device errors
Audio device errors
Csound needs access to audio devices. Check your system audio settings and ensure Csound has necessary permissions. Use
-o dac for real-time output or -o output.wav to render to a file.Missing opcodes or features
Missing opcodes or features
Some opcodes require optional dependencies. Rebuild Csound with the required libraries installed, or check that plugin libraries are in the correct location.
Build errors on macOS
Build errors on macOS
Make sure you have the latest Xcode command-line tools installed:
xcode-select --install. Also ensure you’re using a recent version of Bison (not the system default).Next steps
Quick start guide
Now that Csound is installed, create your first audio program