Non-interactive yunohost app install?

I’m working on packaging my first yunohost app. Working on packaging archivebox (

To test my work, on the CLI, I am using yunohost app install /path/to/myapp, however this requires I enter 5 arguments (domain, admin, etc.).

Is there an easy way to run this script non-interactively, supplying these arguments on the CLI as part of the command, to speed up testing?

I tried writing a script which defines environment variable before calling install directly, but I get the error:
line 46: YNH_STDINFO: unbound variable

What should be the value of YNH_STDINFO? Or is there an easier way to do this?

1 Like

yes add --args "var1=value1&var2=value2&var3=value3"

@ljf this works great, thanks!

Is there a way to pass an argument that automatically skips the “Yes, I understand” confirmation?

That’s indeed legitimate when testing an app :stuck_out_tongue_winking_eye: - I think the option is --force (or you can probably find the corresponding option in yunohost app install --help)

@Aleks aw perfect thanks! somehow missed the help menu before. working well now