Skip to main content

Quick start

Add a few tools​

42space add node@22.11.0 # built-in recipe, checksum verified upstream
42space add npm:typescript # global npm package
42space add uv:ruff # Python CLI tool
42space add python@3.12 # Python interpreter

Each add records the tool in ~/.config/42space/tools.d/, commits it to your environment repo and installs it into goinfre. Open a new shell (or run hash -r) and the commands are on your PATH.

See where things stand​

42space status
machine c1r6s2 (fedora 45, x86_64)
goinfre /goinfre/student/42space (7.6G free)
manifest up to date
HOME 1.2G / 4.6G (26%)
remote git@github.com:you/42space-env.git

node installed archive 22.11.0
npm-globals installed npm-global typescript
python installed uv-python 3.12
uv-tools installed uv-tool ruff

Share it with your other machines​

Your setup is a git repo. Give it a private remote and push:

42space remote set git@github.com:you/42space-env.git
42space remote push
42space remote auto-push on # optional: push after every change

HOME follows you between 42 machines, so on a cluster the remote is a backup. On other machines, run 42space remote pull and then 42space sync.

Restore on a new machine​

Log in and open a terminal. 42space notices that this machine is behind and restores everything in the background. To do it by hand:

42space sync # install whatever is missing
42space sync --dry-run # only show the plan

Next steps​