Configure system requirements and HandbrakeCLI path
masterSystem Requirements
- Mac and Windows: Only node.js is required; the binary is installed automatically.
- Linux (Ubuntu): You must install
handbrake-climanually:sudo apt install handbrake-cli - Other Linux distros: Use
flatpakto install the GUI and CLI together.
Specifying a custom HandbrakeCLI path
In environments like Docker where the binary might not be in the default location, you can specify the path in two ways:
- Environment Variable: Set
HANDBRAKECLI_PATH.HANDBRAKECLI_PATH="./example/HandbrakeCLI" - Programmatically: Pass
HandbrakeCLIPathin theoptionsobject to anyhandbrake-jsmethod.