Section 1.9 Run Sage in the browser
The easiest way to get started is by running SageMath online. However, if you do not have reliable internet, you can also install the software locally on your own computer. Begin your journey with SageMath by following these steps:
- Navigate to the SageMath website
1
https://www.sagemath.org/
- Click on Sage on CoCalc
2
https://cocalc.com/features/sage
- Create a CoCalc account
3
https://cocalc.com/auth/sign-up
- Go to Your Projectson CoCalc and create a new project.
4
https://cocalc.com/projects
- Start your new project and create a new worksheet. Choose the SageMath Worksheet option.
- Enter SageMath code into the worksheet. Try to evaluate a simple expression and use the worksheet like a calculator. Execute the code by clicking
Run
or using the shortcutShift + Enter
. We will learn more ways to run code in the next section. - Save your worksheet as a PDF for your records.
- To learn more about SageMath worksheets, refer to the documentation
5
https://doc.cocalc.com/sagews.html
- Alternatively, you can run Sage code in a Jupyter Notebookfor some additional features.
6
doc.cocalc.com/jupyter-start.html
- If you are feeling adventurous, you can install Sageand run it locally on your own computer. Keep in mind that a local install will be the most involved way to run Sage code.
7
doc.sagemath.org/html/en/installation/index.html