Install-NerdFont¶
SYNOPSIS¶
Installs Nerd Fonts to the system.
SYNTAX¶
ByName (Default)¶
Install-NerdFont -Name <String[]> [-Scope <Scope>] [-Force] [-ProgressAction <ActionPreference>] [-WhatIf]
[-Confirm] [<CommonParameters>]
All¶
Install-NerdFont [-All] [-Scope <Scope>] [-Force] [-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm]
[<CommonParameters>]
DESCRIPTION¶
Installs Nerd Fonts to the system.
EXAMPLES¶
EXAMPLE 1¶
Install-NerdFont -Name 'Fira Code'
Installs the font 'Fira Code' to the current user.
EXAMPLE 2¶
Install-NerdFont -Name 'Ubuntu*'
Installs all fonts that match the pattern 'Ubuntu*' to the current user.
EXAMPLE 3¶
Install-NerdFont -Name 'Fira Code' -Scope AllUsers
Installs the font 'Fira Code' to all users. This requires to be run as administrator.
EXAMPLE 4¶
Install-NerdFont -All
Installs all Nerd Fonts to the current user.
PARAMETERS¶
-Name¶
Specify the name of the NerdFont(s) to install.
Type: String[]
Parameter Sets: ByName
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: True
-All¶
Specify to install all NerdFont(s).
Type: SwitchParameter
Parameter Sets: All
Aliases:
Required: True
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-Scope¶
Specify the scope of where to install the font(s).
Type: Scope
Parameter Sets: (All)
Aliases:
Accepted values: CurrentUser, AllUsers
Required: False
Position: Named
Default value: CurrentUser
Accept pipeline input: False
Accept wildcard characters: False
-Force¶
Force will overwrite existing fonts
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-WhatIf¶
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Confirm¶
Prompts you for confirmation before running the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ProgressAction¶
{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters¶
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.