Does OS X support a mechanism for security updates similar to apt-get?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
2
down vote

favorite












I have used brew to install software, is there a similar command line mechanism to download the OS's security updates?










share|improve this question



















  • 2




    Take a look at the manual for softwareupdate.
    – fd0
    Sep 2 at 18:05















up vote
2
down vote

favorite












I have used brew to install software, is there a similar command line mechanism to download the OS's security updates?










share|improve this question



















  • 2




    Take a look at the manual for softwareupdate.
    – fd0
    Sep 2 at 18:05













up vote
2
down vote

favorite









up vote
2
down vote

favorite











I have used brew to install software, is there a similar command line mechanism to download the OS's security updates?










share|improve this question















I have used brew to install software, is there a similar command line mechanism to download the OS's security updates?







macos software-update






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Sep 2 at 18:14









grg♦

126k23200299




126k23200299










asked Sep 2 at 18:01









gatorback

3441417




3441417







  • 2




    Take a look at the manual for softwareupdate.
    – fd0
    Sep 2 at 18:05













  • 2




    Take a look at the manual for softwareupdate.
    – fd0
    Sep 2 at 18:05








2




2




Take a look at the manual for softwareupdate.
– fd0
Sep 2 at 18:05





Take a look at the manual for softwareupdate.
– fd0
Sep 2 at 18:05











1 Answer
1






active

oldest

votes

















up vote
4
down vote













softwareupdate can perform updates to macOS.

List updates with softwareupdate -l and install recommended updates with



sudo softwareupdate -ir


where -i installs specified updates and -r selects all recommended updates.






share|improve this answer




















  • Warning: by default, softwareupdate does not automatically restart the system even when when an update requires it. You need to either add the -R flag, or notice that the update has a "[restart]" suffix in the list and restart manually after installing.
    – Gordon Davisson
    Sep 2 at 19:30










Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "118"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fapple.stackexchange.com%2fquestions%2f335425%2fdoes-os-x-support-a-mechanism-for-security-updates-similar-to-apt-get%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
4
down vote













softwareupdate can perform updates to macOS.

List updates with softwareupdate -l and install recommended updates with



sudo softwareupdate -ir


where -i installs specified updates and -r selects all recommended updates.






share|improve this answer




















  • Warning: by default, softwareupdate does not automatically restart the system even when when an update requires it. You need to either add the -R flag, or notice that the update has a "[restart]" suffix in the list and restart manually after installing.
    – Gordon Davisson
    Sep 2 at 19:30














up vote
4
down vote













softwareupdate can perform updates to macOS.

List updates with softwareupdate -l and install recommended updates with



sudo softwareupdate -ir


where -i installs specified updates and -r selects all recommended updates.






share|improve this answer




















  • Warning: by default, softwareupdate does not automatically restart the system even when when an update requires it. You need to either add the -R flag, or notice that the update has a "[restart]" suffix in the list and restart manually after installing.
    – Gordon Davisson
    Sep 2 at 19:30












up vote
4
down vote










up vote
4
down vote









softwareupdate can perform updates to macOS.

List updates with softwareupdate -l and install recommended updates with



sudo softwareupdate -ir


where -i installs specified updates and -r selects all recommended updates.






share|improve this answer












softwareupdate can perform updates to macOS.

List updates with softwareupdate -l and install recommended updates with



sudo softwareupdate -ir


where -i installs specified updates and -r selects all recommended updates.







share|improve this answer












share|improve this answer



share|improve this answer










answered Sep 2 at 18:17









grg♦

126k23200299




126k23200299











  • Warning: by default, softwareupdate does not automatically restart the system even when when an update requires it. You need to either add the -R flag, or notice that the update has a "[restart]" suffix in the list and restart manually after installing.
    – Gordon Davisson
    Sep 2 at 19:30
















  • Warning: by default, softwareupdate does not automatically restart the system even when when an update requires it. You need to either add the -R flag, or notice that the update has a "[restart]" suffix in the list and restart manually after installing.
    – Gordon Davisson
    Sep 2 at 19:30















Warning: by default, softwareupdate does not automatically restart the system even when when an update requires it. You need to either add the -R flag, or notice that the update has a "[restart]" suffix in the list and restart manually after installing.
– Gordon Davisson
Sep 2 at 19:30




Warning: by default, softwareupdate does not automatically restart the system even when when an update requires it. You need to either add the -R flag, or notice that the update has a "[restart]" suffix in the list and restart manually after installing.
– Gordon Davisson
Sep 2 at 19:30

















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fapple.stackexchange.com%2fquestions%2f335425%2fdoes-os-x-support-a-mechanism-for-security-updates-similar-to-apt-get%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Christian Cage

How to properly install USB display driver for Fresco Logic FL2000DX on Ubuntu?