Include/duplicate commandline prompt explanation in installation section #1876
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In the current workflow of our tutorial, attendees go through the installation instructions first, before going through the full intro to the command line.
But! The installation instructions require them to use the command line already.
This is why we already duplicate up the "how to open the command line" section, using an include.
But, attendees are still sometimes confused by the command line. Specifically, I've seen them copy-pasting the "$" from the listings into the terminal, and being confused by
$: command not found
errors.This PR proposes that we add a second include to the installation instructions, to duplicate up the explanation of what the prompt is, from the commandline page.
Alternatives considered:
Remove all the dollars from commandline listings in the installation chapter. This would prevent the current failure mode, but it makes this section inconsistent with the rest of the tutorial
Add a very brief explanation saying "don't copy-paste the dollars, we'll explain why later". This could work, but concerned it would leave attendees with a low-level worry about some magical thing that they won't learn about for ages.
Reorganise the whole tutorial and put the intro to the command line before the installation instructions. This felt like a much more radical change.