astrolab-setup gets an account on the astronomy lab server ready for work with a single command. Everything installs in your home folder, so no root access is needed.
curl -fsSL https://raw.githubusercontent.com/jj-sm/astrolab-setup/main/install.sh | bash
What you get
- Python 3.11 and 3.13, installed with uv.
~/.ipynb, a Python 3.13 environment registered as the Jupyter kernel “Python (ipynb 3.13)”, with ipynb-jjsm-tools preinstalled.- TinyTeX, so Matplotlib’s
usetexand PDF export work out of the box. tfold, which creates theout/,src/,data/andnotebooks/folders for a new project.astroenvs, the manager described below.
astroenvs
astroenvs (also available as ipynb) is a terminal menu to start, monitor and stop astronomy tools on the server:
- Jupyter Lab and CARTA: start a server, list active instances, read logs.
- DS9: open a window over X11.
- CASA: start it in the current terminal.
- Manage: stop one instance or all of them.
You move with the arrow keys, filter with / and confirm with Enter. To start Jupyter, choose Jupyter · Start server, accept the defaults and open the printed URL (from the university VPN).
Installation, configuration, troubleshooting and the changelog (current version 1.0.1) are at docs.jjsm.science/astrophysics/astrolab-setup.