Installing Strawberry Perl using Chocolatey
If you use Chocolatey, you can install Strawberry Perl from CLI.
Installing Chocolatey
Let's install Chocolatey. Chocolatey is a CLI tool to manage applications on Windows.
See also official SETUP / INSTALL of Chocolatey.
Command Prompt
Install Chocolatey using Command Prompt.
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "[System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
PowerShell
Install Chocolatey using PowerShell.
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
Installing Strawberry Perl using Chocolatey
Install Strawberry Perl using Chocolatey.
choco install strawberryperl