Skip to content

Commit 8a88857

Browse files
committed
Note on upgrades for slicer-mac
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
1 parent 8082bde commit 8a88857

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

docs/mac/installation.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ First of all, get used to it, leave it in the path we recommend (`~/slicer-mac`)
3434

3535
The `slicer-mac` OCI bundle includes a default `slicer-mac.yaml` in the folder after install, so you can use that file directly.
3636

37-
3837
The generated `slicer-mac.yaml` has two host groups:
3938

4039
- **`slicer`** (`count: 1`) - your persistent Linux VM, starts with the daemon
@@ -197,6 +196,20 @@ cd ~/slicer-mac
197196
./slicer-mac uninstall
198197
```
199198

199+
## How to upgrade Slicer for Mac
200+
201+
First update slicer, since it's an API client for `slicer-mac`, the two need to be updated in tandem.
202+
203+
```bash
204+
sudo slicer update
205+
206+
mv ~/slicer-mac/slicer-mac.yaml{,.bak}
207+
slicer install slicer-mac
208+
mv ~/slicer-mac/slicer-mac.yaml{.bak,}
209+
```
210+
211+
The upgrade is actually the same command you ran to install `slicer-mac`. We just make a back of your customised `slicer-mac.yaml` file before hand, and restore it after the upgrade.
212+
200213
## Next steps
201214

202215
- [Linux VM](/mac/linux-vm) - mount shared folders, forward Docker and K3s

0 commit comments

Comments
 (0)