These advanced steps are primarily for system administrators and others who are familiar with the command line. You don't need a bootable installer to upgrade macOS or reinstall macOS, but it can be useful when you want to install on multiple computers without downloading the installer each time.
- How To Install Mac
- Can't Install App On Mac
- How To Install New Mac Os
- Script To Install Software Mac Free
- Install Mac Software On Windows
Troubleshoot install or activation errors for Office for Mac: Activation Download/Install To complete any of the steps below, you'll need the email address and password associated with your active and licensed Microsoft 365 subscription or your one-time purchase of Office for Mac. Jan 19, 2018 But, one of the best things about using a Mac is how easy it is to install software. And removing most software packages on macOS is just as easy. Apr 15, 2020 How to Install Software from Unsigned Developers on a Mac. This wikiHow teaches you how to install software that isn't approved by Apple on your Mac. MacOS Sierra marks most unofficial apps as unsigned software, so you'll need to perform.
Download macOS
Find the appropriate download link in the upgrade instructions for each macOS version:
macOS Catalina, macOS MojaveormacOS High Sierra
Installers for each of these macOS versions download directly to your Applications folder as an app named Install macOS Catalina, Install macOS Mojave, or Install macOS High Sierra. If the installer opens after downloading, quit it without continuing installation. Important: To get the correct installer, download from a Mac that is using macOS Sierra 10.12.5 or later, or El Capitan 10.11.6. Enterprise administrators, please download from Apple, not a locally hosted software-update server.
Installers for each of these macOS versions download directly to your Applications folder as an app named Install macOS Catalina, Install macOS Mojave, or Install macOS High Sierra. If the installer opens after downloading, quit it without continuing installation. Important: To get the correct installer, download from a Mac that is using macOS Sierra 10.12.5 or later, or El Capitan 10.11.6. Enterprise administrators, please download from Apple, not a locally hosted software-update server.
OS X El Capitan
El Capitan downloads as a disk image. On a Mac that is compatible with El Capitan, open the disk image and run the installer within, named InstallMacOSX.pkg. It installs an app named Install OS X El Capitan into your Applications folder. You will create the bootable installer from this app, not from the disk image or .pkg installer.
El Capitan downloads as a disk image. On a Mac that is compatible with El Capitan, open the disk image and run the installer within, named InstallMacOSX.pkg. It installs an app named Install OS X El Capitan into your Applications folder. You will create the bootable installer from this app, not from the disk image or .pkg installer.
Use the 'createinstallmedia' command in Terminal
- Connect the USB flash drive or other volume that you're using for the bootable installer. Make sure that it has at least 12GB of available storage and is formatted as Mac OS Extended.
- Open Terminal, which is in the Utilities folder of your Applications folder.
- Type or paste one of the following commands in Terminal. These assume that the installer is still in your Applications folder, and MyVolume is the name of the USB flash drive or other volume you're using. If it has a different name, replace
MyVolume
in these commands with the name of your volume.
Catalina:*
Mojave:*
High Sierra:*
El Capitan: - Press Return after typing the command.
- When prompted, type your administrator password and press Return again. Terminal doesn't show any characters as you type your password.
- When prompted, type
Y
to confirm that you want to erase the volume, then press Return. Terminal shows the progress as the bootable installer is created. - When Terminal says that it's done, the volume will have the same name as the installer you downloaded, such as Install macOS Catalina. You can now quit Terminal and eject the volume.
* If your Mac is using macOS Sierra or earlier, include the
--applicationpath
argument, similar to the way this argument is used in the command for El Capitan.Use the bootable installer
After creating the bootable installer, follow these steps to use it:
- Plug the bootable installer into a compatible Mac.
- Use Startup Manager or Startup Disk preferences to select the bootable installer as the startup disk, then start up from it. Your Mac will start up to macOS Recovery.
Learn about selecting a startup disk, including what to do if your Mac doesn't start up from it. - Choose your language, if prompted.
- A bootable installer doesn't download macOS from the Internet, but it does require the Internet to get information specific to your Mac model, such as firmware updates. If you need to connect to a Wi-Fi network, use the Wi-Fi menu in the menu bar.
- Select Install macOS (or Install OS X) from the Utilities window, then click Continue and follow the onscreen instructions.
Learn more
For more information about the
createinstallmedia
command and the arguments that you can use with it, make sure that the macOS installer is in your Applications folder, then enter this path in Terminal:Catalina:
Mojave:
High Sierra:
El Capitan:
-->![Script To Install Software Mac Script To Install Software Mac](/uploads/1/2/6/3/126350978/243242457.png)
Syntax
Description
The
Install-Script
cmdlet acquires a script payload from a repository, verifies that thepayload is a valid PowerShell script, and copies the script file to a specified installationlocation.The default repositories
Install-Script
operates against are configurable through theRegister-PSRepository
, Set-PSRepository
, Unregister-PSRepository
, and Get-PSRepository
cmdlets. When operating against multiple repositories, Install-Script
installs the first scriptthat matches the specified search criteria (Name, MinimumVersion, or MaximumVersion)from the first repository without any error.Examples
Example 1: Find a script and install it
The first command finds the script named
Required-Script2
from the Local1 repository and displaysthe results.The second command finds the
Required-Script2
script, and then uses the pipeline operator to passit to the Install-Script
cmdlet to install it.The third command uses the
Get-Command
cmdlet to get Required-Script2
, and then displays theresults.The fourth command uses the
Get-InstalledScript
cmdlet to get Required-Script2
and display theresults.The fifth command gets
Required-Script2
and uses the pipeline operator to pass it to theFormat-List
cmdlet to format the output.Example 2: Install a script with AllUsers scope
The first command installs the script named
Required-Script3
and assigns it AllUsers scope.How To Install Mac
The second command gets the installed script
Required-Script3
and displays information about it.The third command gets
Required-Script3
and uses the pipeline operator to pass it to theFormat-List
cmdlet to format the output.Example 3: Install a script and its dependencies
The first command finds the script named
Script-WithDependencies2
and its dependencies in theLocal1 repository and displays the results.The second command installs
Script-WithDependencies2
.The third command uses the
Get-InstalledScript
script cmdlet to get installed scripts and displaythe results.The fourth command uses the
Get-InstalledModule
cmdlet to get installed modules and display theresults.The fifth command uses the
Find-Script
cmdlet to find scripts where the name begins withRequired-Script
and display the results.The sixth command installs the scripts where the name begins with
Required-Script
in the Local1repository.The final command gets installed scripts and displays the results.
Parameters
-AcceptLicense
Automatically accept the license agreement during installation if the module requires it.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Allows you to install a script marked as a prerelease.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Specifies a user account that has rights to install a script for a specified package provider orsource.
Type: | PSCredential |
Position: | Named |
Default value: | None |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Can't Install App On Mac
Forces the command to run without asking for user confirmation.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Used for pipeline input.
Type: | PSObject[] |
Position: | 0 |
Default value: | None |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Specifies the maximum version of a single scripts to install. You cannot add this parameter if youare attempting to install multiple scripts. The MaximumVersion and the RequiredVersionparameters are mutually exclusive; you cannot use both parameters in the same command.
Type: | String |
Position: | Named |
Default value: | None |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Specifies the minimum version of a single script to install. You cannot add this parameter if youare attempting to install multiple scripts. The MinimumVersion and the RequiredVersionparameters are mutually exclusive; you cannot use both parameters in the same command.
Type: | String |
Position: | Named |
Default value: | None |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Specifies an array of names of scripts to install.
Type: | String[] |
Position: | 0 |
Default value: | None |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Accept pipeline input: | True |
Accept wildcard characters: | False |
How To Install New Mac Os
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Specifies a proxy server for the request, rather than connecting directly to the Internet resource.
Type: | Uri |
Position: | Named |
Default value: | None |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Specifies a user account that has permission to use the proxy server that is specified by theProxy parameter.
Type: | PSCredential |
Position: | Named |
Default value: | None |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Specifies the friendly name of a repository that has been registered with the
Register-PSRepository
cmdlet. The default is all registered repositories.Type: | String[] |
Position: | Named |
Default value: | None |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Specifies the exact version number of the script to install.
Type: | String |
Position: | Named |
Default value: | None |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Specifies the installation scope of the script.Valid values are: AllUsers and CurrentUser.
The AllUsers scope lets modules be installed in a location that is accessible to all users of thecomputer, that is,
$env:ProgramFilesWindowsPowerShellScripts
.The CurrentUser scope lets modules be installed only to
$homeDocumentsWindowsPowerShellScripts
, so that the module is available only to the currentuser.When no Scope is defined, the default will be set based on the current session:
- For an elevated PowerShell session, Scope defaults to AllUsers;
- For non-elevated PowerShell sessions in PowerShellGet versions 2.0.0and above, Scope is CurrentUser;
- For non-elevated PowerShell sessions in PowerShellGet versions 1.6.7 and earlier, Scope isundefined, and
Install-Module
fails.
Type: | String |
Accepted values: | CurrentUser, AllUsers |
Position: | Named |
Default value: | None |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Inputs
String[]
PSObject[]