Hi Doris, On Wed, Aug 26, 2020 at 8:56 AM 'Doris Behrendt' via sage-devel <sage-devel@googlegroups.com> wrote:
> 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? The easiest would be to create a Windows .bat (say, call it runsage.bat) file which consists of one line C:\Program Files\SageMath 9.0\runtime\bin\bash -l C:/Program Files/SageMath 9.0/runtime/opt/sagemath-9.0/sage and put it somewhere in your Windows path. Then typing runsage (hmm, or runsage.bat) should launch sage. HTH Dima > > 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 > > -- > 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 sage-devel+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-devel/0f163c27-db6d-47d5-3285-b09c35008918%40me.com. -- 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 sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/CAAWYfq1inNOK0Z0FG%2BfccmYQWz8MsmbxbecAwqD9pmvF7q0oyg%40mail.gmail.com.