AUGUST 5, 2022
The osascript Terminal application allows the execution of AppleScript code from the command-line interface.
osascript
osascript -e 'tell application "System Events" to set picture of first desktop to "/path/to/your/background-image"'
BlogCodeTerminal