more: set path guidance

Include information about how to set `PATH`.

Related to racket/racket-lang-org#101
This commit is contained in:
Stephen De Gabrielle 2020-06-05 20:13:54 +01:00 committed by GitHub
parent 110c580d97
commit f892fe936e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -95,6 +95,14 @@ start @exec{racket} with no command-line arguments:
>
}
@margin-note{Set your @tt{PATH} environment variable so you can use
@exec{raco} and other Racket command line functions. On Mac OS:
@tt{sudo sh -c @literal{'}echo "/Applications/Racket v@version{}/bin"
>> /etc/paths.d/racket@literal{'}} (This assumes you have installed
Racket in the @tt{Applications} folder). On Windows: add the racket
@tt{bin} path to @onscreen{Path} in @onscreen{Environment Variables}
(under @onscreen{System Properties}, @onscreen{Advanced} tab)}
Assuming that you have Editline installed,@margin-note*{To use GNU
Readline instead of Editline, set the @envvar{PLT_READLINE_LIB}
environment variable or install the @filepath{readline-gpl} package.}