Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Similar to this question, is it possible to update installed plugins via the command line?

I'm running YSlow with beacon reporting as a nightly cron job under OSX:

/Applications/ -no-remote -P YSlow &
sleep 300
kill $PID

This dumps FF into the background and grabs the PID, waits 300 seconds (for the page to load) then kills it. If there is an update pending, the browser "hangs" waiting for a confirmation.

If I do click on the "install updates" link, everything works and then Firefox launches a new process - the $! returned by the shell is no longer valid.

Can I update a plugin from the command line without confirmation? Can I curl the XPI into a file and install it without confirmation?

share|improve this question

Make sure the following two changes are made to your YSlow profile in about:config:


app.update.mode=1 will download updates automatically for major and minor releases. If there is a incompatibility addon issue, it will prompt. However in combination with app.update.silent=true, the incompatibility prompt will not display and the update will be ignore, effectively making the whole process silent.

share|improve this answer
It looks like these settings are for FF itself, I still have to update manually for extensions. – Maelstrom Nov 16 '09 at 19:31

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .