|
2 | 2 | title: Setup |
3 | 3 | --- |
4 | 4 |
|
5 | | -FIXME: Setup instructions live in this document. Please specify the tools and |
6 | | -the data sets the Learner needs to have installed. |
| 5 | +## Installing uv |
7 | 6 |
|
8 | | -## Data Sets |
| 7 | +The only requirement for this workshop is the uv tool. Detailed installation instructions are given in the [uv documentation](https://docs.astral.sh/uv/getting-started/installation/) but the main macOS, Linux, and Windows installation commands are presented below. |
9 | 8 |
|
10 | | -<!-- |
11 | | -FIXME: place any data you want learners to use in `episodes/data` and then use |
12 | | - a relative link ( [data zip file](data/lesson-data.zip) ) to provide a |
13 | | - link to it, replacing the example.com link. |
14 | | ---> |
15 | | -Download the [data zip file](https://example.com/FIXME) and unzip it to your Desktop |
| 9 | +Install uv on macOS and Linux with: |
16 | 10 |
|
17 | | -## Software Setup |
| 11 | +```bash |
| 12 | +$ curl -LsSf https://astral.sh/uv/install.sh | sh |
| 13 | +``` |
18 | 14 |
|
19 | | -::::::::::::::::::::::::::::::::::::::: discussion |
| 15 | +Install uv on Windows with: |
20 | 16 |
|
21 | | -### Details |
| 17 | +```bash |
| 18 | +$ powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex" |
| 19 | +``` |
22 | 20 |
|
23 | | -Setup for different systems can be presented in dropdown menus via a `spoiler` |
24 | | -tag. They will join to this discussion block, so you can give a general overview |
25 | | -of the software used in this lesson here and fill out the individual operating |
26 | | -systems (and potentially add more, e.g. online setup) in the solutions blocks. |
| 21 | +You may need to restart your terminal to ensure that uv was installed. Check the installation by displaying the version number using the `--version` option as shown below. If the command displays the uv version number then the installation was successful. |
27 | 22 |
|
28 | | -::::::::::::::::::::::::::::::::::::::::::::::::::: |
| 23 | +```bash |
| 24 | +$ uv --version |
| 25 | +``` |
29 | 26 |
|
30 | | -:::::::::::::::: spoiler |
31 | | - |
32 | | -### Windows |
33 | | - |
34 | | -Use PuTTY |
35 | | - |
36 | | -:::::::::::::::::::::::: |
37 | | - |
38 | | -:::::::::::::::: spoiler |
39 | | - |
40 | | -### MacOS |
41 | | - |
42 | | -Use Terminal.app |
43 | | - |
44 | | -:::::::::::::::::::::::: |
45 | | - |
46 | | - |
47 | | -:::::::::::::::: spoiler |
48 | | - |
49 | | -### Linux |
50 | | - |
51 | | -Use Terminal |
52 | | - |
53 | | -:::::::::::::::::::::::: |
| 27 | +```output |
| 28 | +uv 0.8.4 (e176e1714 2025-07-30) |
| 29 | +``` |
54 | 30 |
|
0 commit comments