Installing software on your personal computer
Before we can really do anything in this course, you’re going to need to install some software on your computer. Your computer already has lots of software installed on it and you maybe installed some of that software yourself.
We’re going to install two pieces of software that you’re going to be using throughout the course: Visual Studio Code (henceforth “VS Code”) and Pandoc.
Installing software is generally straightforward. The first thing you’re going to need to do is download the software from it’s source.
VS Code
Downloading VS Code
Open your web browser (e.g., Edge, Chrome, Safari, Firefox) and navigate to https://code.visualstudio.com/.
The VS Code website is usually smart enough to figure out which operating system you’re running and lets you pick the right type of file to download on the main page.
If you don’t see the right option on the main page, you can also go
to the download
page. On the Download page you’ll see many options and it’s up to
you to figure out which file you should download (but you can almost
certainly safely click on the big buttons for “Windows”, “Mac”, or
choose .deb/.rpm if you’re running Linux).
Installing VS Code
How you install VS Code depends on the operating system you’re using.
Installing VS Code on Windows
Installing VS Code on macOS
Installing VS Code on Linux
Verifying that VS Code is installed
Once you’ve gone through the install process, you should check that VS Code is actually installed on your computer by running VS Code.
Running VS Code on Windows
Running VS Code on macOS
Running VS Code on Linux
Pandoc
Downloading Pandoc
Open your web browser and navigate to https://pandoc.org. Click on the “Installing” link at the top of the page, then click on the blue “Download the latest installer” button.
The latest releases page has a lot of choices, I recommend that you pick:
- The
.msifile if you’re on Windows. - The
.pkgfile if you’re on macOS. - The
-amd64.debfile if you’re using a Debian-based Linux distribution like Ubuntu or Pop!_OS. If you’re using something else and need help, ask for help now.
Installing Pandoc
How you install Pandoc depends on the operating system you’re using.
Installing Pandoc on Windows
Installing Pandoc on macOS
Installing Pandoc on Linux
Verifying that Pandoc is installed
Unlike VS Code, Pandoc is not a program that has a graphical user interface (GUI), so no icon will be made for running the program after it’s been installed.
Instead, Pandoc is a program that runs in your terminal. To check if Pandoc has been installed, you’re going to need to open your terminal program.
Opening your terminal on Windows
Opening your terminal on macOS
Opening your terminal on Linux
Running Pandoc
Now that you’ve got your terminal open, you should be able to run Pandoc. At this point, it doesn’t matter what operating system you’re using, running Pandoc is the same for all.
In your terminal, type in pandoc and press
Enter. As soon as you press Enter, Pandoc won’t
show any output, but is patiently waiting for you to type something
in.
If you see anything printed to the screen (like an error message), stop here and ask for help.
Pandoc is patiently waiting for you to type something in, so… type something in! Let’s do the classical “Hello, world”. After you type in “Hello, world”, press Enter on your keyboard, then press (on macOS and Linux) Ctrl+D or (on Windows) press Ctrl+Z then Enter.
Pandoc should then take your input and turn it into HTML:
<p>Hello, world</p>If you see that, then success 🎉! Pandoc is installed.