Very basic question. How does one go from pkg>
prompt to julia>
prompt in the Julia REPL? For example, if I just press enter at an empty shell>
prompt, it takes me back to julia>
prompt. Currently, to go from pkg>
to julia>
, I first press ;
which takes me to >shell
, then I press enter
, which takes me to julia>
. It is not a big deal, but is there a way to exit pkg>
directly and go to julia>
?
Thank you.
Just hit delete/backspace with your cursor at the beginning of the line.
4 Likes
Thank you! I knew there had to be a way to do this. I even tried searching about it, but could not find it. This is great. Thanks!
CTRL+C is an alternative way.
1 Like
It’s documented in the start here: https://julialang.github.io/Pkg.jl/v1/getting-started/#2.-Getting-Started-1
Pkg comes with its own REPL mode, which can be entered from the Julia REPL by pressing ]
. To get back to the Julia REPL press backspace or ^C.
3 Likes