Setting up Windows 10 for Command-Line
In order to get a command line terminal for Windows 10, you will need to enable the WSL (Windows Subsystem for Linux) and install Ubuntu. Follow these instructions for installation.
Setting up a Mac for Command-Line
A Mac is already set up for the command-line, but you will probably need to install “homebrew” and then use “brew” to install some other packages. So first open a Terminal and then go to the homebrew page and follow the instructions. You basically need to copy and paste this line:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
into the Terminal and press Enter. The installer will explain what it is doing and it may need to install some other packages, such as Xcode. It will probably also ask for the admin password. Once the installer is done, you can use the brew command to install different packages. Install gsed and wget by typing these commands into the terminal:
brew install wget
brew install gnu-sed