On Wed, Aug 26, 2020 at 9:56 AM 'Doris Behrendt' via sage-devel wrote: > > Hi list, > > after searching the web for answers without success, I ask here: > > > What do I have to do to include sage into my environment variables to use > sage from command line? > > > I found this here: > https://ask.sagemath.org/question/49071/running-sage-89-from-command-line-windows/ > > and changed to 9.0 and >Program Files< instead of 8.9 and >Programme<. > > C:\Program Files\SageMath 9.0\runtime\bin\bash -l C:/Program Files/SageMath > 9.0/runtime/opt/sagemath-9.0/sage > > > But I could not add this to my path using the windows gui for path editing. I > guess because there are two commands not one? > > Can anyone help? I'm not so experienced with setting and editing path stuff. > > I need this for automating sagetex for arara, by the way. > > > TIA > > doris
Out of curiosity why do you want to do this? Sage is a UNIX-based program and not really designed to work well in the Windows cmd shell, as you can tell from the ugly colors alone. I also can't promise that various things like keyboard commands will work well. Is there some other underlying goal? If so, perhaps there is a better way to achieve that goal. I'm not saying you *shouldn't* do it if it's something you really want. But it isn't technically supported either. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/CAOTD34YshYnmmnD_2yVjQfGKX%3DenPY7chLGEc1Y3a8BnVjfQyA%40mail.gmail.com.
