2

Or: What's the equivalent of apt-get install --yes in FreeBSD's pkg?

I know about yes | pkg install ..., but an option seems to be much more conveniant and savely avoids answering y to questions during eventual installation and configuration routines.

1 Answers1

2
pkg install -y <package>

See the manual page for details.

  • Thank you. I assumed that if man pkg install wouldn't open the manual of pkg-install it's wouldn't be available, but one has to use man pkg-install. – Kalle Richter Nov 12 '17 at 17:48