The easiest way to install software on a Mac or Windows laptop is to use a good package manager. On a Mac, most people use Homebrew and on Windows, Chocolatey is a good choice.
To install the Chocolatey package manager on Windows, please follow the instructions at https://chocolatey.org/ or just execute the following command in a PowerShell Terminal that you have run as administrator:
Installing Chocolatey on Windows
Step 1 : Click Start and type powershell. Right-click Windows Powershell and choose “Run as Administrator”
Step 2 : The following is the command to install Chocolatey:
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
Step 3 : Once the installation is finished, test whether Chocolatey is working by entering choco -v in the Terminal.
Step 4 : To install an application such as the Vi editor, use the following command:
choco install -y vim
you need to open a new PowerShell window to use it.