You can install musegpt by downloading the latest binaries from the Releases page.
If you prefer to build from source, follow these steps:
Clone the repository: For all platforms:
git clone --recurse-submodules -j2 https://github.com/greynewell/musegpt.git
cd musegpt
Install dependencies:
Ensure you have the required dependencies installed. See Requirements for details.
Build the project:
For Unix-based systems (Linux, macOS):
./scripts/build/debug.sh
or
./scripts/build/release.sh
For Windows (PowerShell):
./scripts/build/debug.ps1
or
./scripts/build/release.ps1
You may need to run the above commands with administrative privileges on Windows.
Each build script will also download the relevant model weights for the inference engine.
Install the plugin:
CMake will automatically copy the built VST3, AU, or AAX plugin to your DAW’s plugin directory. Example paths for VST3 are:
~/Library/Audio/Plug-Ins/VST3/
~/.vst3/
%USERPROFILE%\Documents\VST3\
Run the plugin:
Start your DAW and you should see musegpt in your plugin list. For more detailed instructions on how to use musegpt, see the Usage section of the documentation.
Clean the project (if needed):
For Unix-based systems (Linux, macOS):
./scripts/clean.sh
For Windows (PowerShell):
./scripts/clean.ps1