Write a specific array key value

dconf write

dconf write {{/path/to/key}} "[{{'first', 'second', ...}}]"

click the source code to copy install dconf write on any operating system with command-not-found.com