- Winget:
winget install "YouTube Music Desktop App"orwinget install Ytmdesktop.Ytmdesktop - Scoop:
scoop bucket add extrasthenscoop install ytmdesktop(Community Maintained) - Binaries: https://github.com/ytmdesktop/ytmdesktop/releases
- Arch Linux (AUR): https://aur.archlinux.org/packages/ytmdesktop (Community Maintained)
- Binaries: https://github.com/ytmdesktop/ytmdesktop/releases
- Brew:
brew install --cask ytmdesktop-youtube-music(Community Maintained) - Binaries: https://github.com/ytmdesktop/ytmdesktop/releases
To clone and run this repository you'll need Git and Node.js 22.12 or newer (which comes with npm) installed on your computer. From your command line:
# Clone this repository
git clone https://github.com/ytmdesktop/ytmdesktop.git
# Go into the directory
cd ytmdesktop# Enable Yarn via Corepack
corepack enable
# Optional: avoid the interactive "Corepack is about to download ..." prompt
# PowerShell: $env:COREPACK_ENABLE_DOWNLOAD_PROMPT=0
# Bash: export COREPACK_ENABLE_DOWNLOAD_PROMPT=0
# Install dependencies
yarn install
# Run the app
yarn start
# If you prefer to skip Corepack entirely, you can use the pinned Yarn binary directly:
# node .yarn/releases/yarn-4.10.3.cjs install
# node .yarn/releases/yarn-4.10.3.cjs startNote: in development, the app uses a separate Electron userData directory to avoid conflicts with the installed app. Set YTMD_USE_PROD_USER_DATA=1 to use the production userData directory.
This repo includes a builder.config.json used by some deployment/build runners. The serverUrl must be reachable from wherever that runner is executing.
- Preferred runtime override: set
BUILDER_SERVER_URL(example:https://your-host.example.com/). - Environment-specific config files: you can use
builder.config.local.json,builder.config.staging.json,builder.config.production.jsonand select viaNODE_ENV(localis the default for anything exceptproduction/staging). - If your runner cannot expand
${VAR}templates: generate a fully-resolved JSON first:yarn builder:config(writesbuilder.config.resolved.jsonand prints its path)yarn builder:config:write(also overwritesbuilder.config.jsonwith the resolved values)
Supported env vars:
BUILDER_SERVER_URL: overridesserverUrlat runtimeBUILDER_CONFIG_FILE: optional path to a specific config file to load instead ofNODE_ENVselection
To build for your platform you need to run yarn make, however please see the information below regarding the required additionally Software, Tools and Packages which are needed to successfully package into a nice installer file.
To download the full suite of Tools/Software needed to build the app it is recommended to install the suite of build tools that electron provide which includes Visual Studio, Python and other tools.
npm i -g @electron/build-tools
This will start downloading and installing, and may require a few prompts here and there to finalise everything.
Building the project on Linux only requires you to install:
- For building on Debian based Linux Distros like Ubuntu, you will need to install
fakerootanddpkg - For building on RedHat based Linux Distros like Fedora, you will need to install
rpmorrpm-build
please note that by default both packages are built if you try building this application on a linux distro
A Thank you to all the contributors throughout the project, without their work this project would have just been a small project and never expanded to where it is now.
