If you're sick of waiting for the progress bar to complete every time you reboot after a macOS software update, then you'll be pleased to learn there's another way to update your Mac that could potentially reduce your downtime.
The process involves a simple Terminal command, and allows you to continue using your Mac as the update downloads and the initial software installation takes place in the background. In our tests, we found that this method was capable of shaving off several minutes of idle time during installation restarts, but that the time-saving depends on the machine and the update in question.
Users with older Macs in particular will likely appreciate this tip, as it saves having to fire up the Mac App Store altogether, which can be slow-going and sometimes even downright unresponsive. Read on to find out how it's done.
Before following these steps, ensure you have a full backup of your system, which should be par for the course when performing any update. Note that the following procedure only lists stock Apple system updates (iTunes, Photos, printer drivers the like), but not updates for other Apple apps that aren't installed with macOS (Xcode, for instance), and not third-party updates from the Mac App Store.
The asterisked line denotes the individual software update package that's available for your Mac to download. This line is also known as the identifier.
The second line offers a more detailed description of the update, including the version number (usually in brackets) and the download file size in kilobytes. [Recommended] means the update is recommended for all users, and [restart] indicates that your Mac needs to reboot for installation to complete.
To download and install a specific update in the list, use the following format, but replacing NAME with the update's identifier:
softwareupdate -i NAME
Or:
softwareupdate --install NAME
Note that if the package name you’re trying to install has spaces in it, you'll need to enclose the whole thing in single quotes. So for example:
softwareupdate --install 'macOS High Sierra 10.13.3 Supplemental Update-'
Also, be alert for spaces at the end of the package names. If present, they also need to be included within the quotes.
Moving on, to download a specific update for your system without also installing it then and there, you can use:
softwareupdate -d NAME
Updates downloaded in this way can be subsequently installed with the same -i or --install command above, or even through the Mac App Store. These updates are downloaded to a folder located in /Library/Updates, but they aren't designed to be installed by double-clicking the packages in that directory. You'll need to use the --install command or visit the Mac App Store to actually initiate the install.
Lastly, to download and install all available updates for your system, type the command:
softwareupdate -i -a
Using these commands, you'll be able to leave the update to download and continue to install in the background while you get on with other things. All being well, Terminal will eventually prompt you to restart your machine manually so that the full installation procedure can complete. (Note that the softwareupdate utility requires admin authentication for all commands except the -l or -list command. If you run softwareupdate as a normal admin user, you will be prompted for a password where required.)
As some users will no doubt be aware, there are several additional options that can be used in conjunction with the softwareupdate utility. For example, -schedule on/off enables/disables your Mac's scheduled background check for updates. More adventurous readers can use man softwareupdate and softwareupdate -h for a summary list of commands.
![Mac Mac](/uploads/1/2/6/2/126292612/505219871.png)
The process involves a simple Terminal command, and allows you to continue using your Mac as the update downloads and the initial software installation takes place in the background. In our tests, we found that this method was capable of shaving off several minutes of idle time during installation restarts, but that the time-saving depends on the machine and the update in question.
Jul 26, 2016 - You can find your Arduino via Terminal with ls /dev/tty.*. Then you can read that serial port using the screen command, like this screen /dev/tty. About This Mac shows an overview of your Mac, including the name and version of its operating system, its model name, and its serial number: If you see an About This Mac window like the following, double-click the version number beneath “OS X” to reveal the serial number.
Users with older Macs in particular will likely appreciate this tip, as it saves having to fire up the Mac App Store altogether, which can be slow-going and sometimes even downright unresponsive. Read on to find out how it's done.
How to Update macOS From the Command Line
Before following these steps, ensure you have a full backup of your system, which should be par for the course when performing any update. Note that the following procedure only lists stock Apple system updates (iTunes, Photos, printer drivers the like), but not updates for other Apple apps that aren't installed with macOS (Xcode, for instance), and not third-party updates from the Mac App Store.
- To update macOS from the command line, first launch Terminal, which can be found in the Applications/Utilities folder. This will open a Terminal window and a command prompt for you to begin typing.
- Input the following command and press Enter: softwareupdate -l
- Wait as your Mac searches Apple's servers for any macOS software updates currently available for your system. If no updates are available, you'll be returned to the command prompt.
The asterisked line denotes the individual software update package that's available for your Mac to download. This line is also known as the identifier.
The second line offers a more detailed description of the update, including the version number (usually in brackets) and the download file size in kilobytes. [Recommended] means the update is recommended for all users, and [restart] indicates that your Mac needs to reboot for installation to complete.
To download and install a specific update in the list, use the following format, but replacing NAME with the update's identifier:
softwareupdate -i NAME
Or:
softwareupdate --install NAME
Note that if the package name you’re trying to install has spaces in it, you'll need to enclose the whole thing in single quotes. So for example:
softwareupdate --install 'macOS High Sierra 10.13.3 Supplemental Update-'
Also, be alert for spaces at the end of the package names. If present, they also need to be included within the quotes.
Moving on, to download a specific update for your system without also installing it then and there, you can use:
softwareupdate -d NAME
Updates downloaded in this way can be subsequently installed with the same -i or --install command above, or even through the Mac App Store. These updates are downloaded to a folder located in /Library/Updates, but they aren't designed to be installed by double-clicking the packages in that directory. You'll need to use the --install command or visit the Mac App Store to actually initiate the install.
Lastly, to download and install all available updates for your system, type the command:
softwareupdate -i -a
Using these commands, you'll be able to leave the update to download and continue to install in the background while you get on with other things. All being well, Terminal will eventually prompt you to restart your machine manually so that the full installation procedure can complete. (Note that the softwareupdate utility requires admin authentication for all commands except the -l or -list command. If you run softwareupdate as a normal admin user, you will be prompted for a password where required.)
As some users will no doubt be aware, there are several additional options that can be used in conjunction with the softwareupdate utility. For example, -schedule on/off enables/disables your Mac's scheduled background check for updates. More adventurous readers can use man softwareupdate and softwareupdate -h for a summary list of commands.
![Mac Mac](/uploads/1/2/6/2/126292612/505219871.png)
Guides
Upcoming
Front Page Stories
U.S. Lawmakers Call Apple's Move to Remove HKMap Live App 'Deeply Concerning'
Quanta Reportedly Supplying Apple With 'Autonomous Driving Solutions'
1 day ago on Front Page16-Inch MacBook Pro Possibly Referenced in macOS Catalina 10.15.1 Beta
1 day ago on Front PageApple CEO Tim Cook Urges U.S. Senate to Pass the Fairness for High-Skilled Immigrants Act
1 day ago on Front PageApple TV+ Comedy Series 'Dickinson' Starring Hailee Steinfeld Premieres in Brooklyn
1 day ago on Front PageGoogle Pixel 4's Face Unlock Feature Works With Eyes Closed, Sparking Security Concerns
1 day ago on Front PageReport: 'AirPods Pro' to Launch End of October with New Design, New Noise-Canceling Feature and $260 Price Tag
1 day ago on Front PageHands-On With Apple's New Beats Solo Pro Headphones
2 days ago on Front Page
• Apple Seeds Second Beta of Upcoming macOS Catalina 10.15.1 Update to Developers(80)
• Samsung Admits Major Security Flaw in Galaxy S10 Under-Screen Fingerprint Sensor(340)
• iOS 13 Now Installed on 55% of iPhones Introduced in Last Four Years(246)
• Apple Seeds Third Betas of iOS 13.2 and iPadOS 13.2 to Developers [Update: Public Beta Available](100)
• Quanta Reportedly Likely to Stop Assembling the Apple Watch in 2020 Due to Profit Concerns(56)
• AnandTech Finds iPhone 11 Pro Has 50-60% Higher Sustained Graphics Performance Than iPhone XS(137)
• Apple and A24 Partnering for Film Adaptation of Jandy Nelson's Young Adult Novel 'The Sky is Everywhere'(19)
Terminal (serial) communications on Windows and Mac
Windows
- Hyperterminal. Hyperterminal is included with Windows XP, but not available on Windows 7. We have Instructions for configuration of Hyperterminal
- Putty is mainly intended for ssh communication, but can also be used to communicate through serial ports. (Works on Windows 7.)
- TeraTerm is another serial terminal.
- Realterm is designed for testing and is therefore good for debugging hardware, particularly if the commands are binary (not ASCII).
Mac
There are several alternatives for a serial terminal on OS X.
- Use the Terminal app with a utility named screen (both of which are supplied with OS X). Here is a Apple Script that sets up screen:
- CoolTerm This is a free serial terminal emulator that works very well.
- SyncTERM This is another free serial terminal emulator that is available for many operating systems. However is looks distinctly like a port from DOS, even when running on OS X!
- PortTerm is an application for communicating with external hardware via a serial port under Mac OS X ($20, displays communication in either hex or asci, PPC only but will run under Rosetta)
Device signals analysis
Competent hardware manufacturers provide detailed, complete documentation on how to programmatically control their devices. In some cases, when good documentation is not available, it is necessary to analyze and test signals being sent between a device and the computer, or between different software components. A number of free tools are available for this purpose:
- Free Serial Port Monitor (Windows) allows you to listen in on all messages sent on COM ports.
- Wireshark (Windows, Mac, Linux) allows you to monitor traffic on a large variety of communications protocols, including TCP/IP and USB.
- Snoopy monitors USB traffic and works amazingly well! Windows only.
- Dependency Walker (Windows) lets you inspect DLLs and other binary code for function names and function calls. A similar program is Nirsoft DLL Export Viewer.
Retrieved from 'https://micro-manager.org/w/index.php?title=Free_third-party_tools_for_testing_communications_with_hardware&oldid=10028'