Skip to content

Commit ee30717

Browse files
committed
doc: Document how to update
1 parent ae053a7 commit ee30717

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ By this installation, systemd is enabled in your WSL 2 distro.
9898

9999
```bash
100100
curl -L -O "https://raw.githubusercontent.com/nullpo-head/wsl-distrod/main/install.sh"
101+
chmod +x install.sh
101102
sudo ./install.sh install
102103
```
103104

@@ -152,6 +153,16 @@ For reference, the following command launches a distro by name in WSL
152153
> wsl --distribution Distrod
153154
```
154155

156+
## Update Distrod
157+
158+
1. Inside a Distrod session, download and run the latest installer script.
159+
160+
```bash
161+
curl -L -O "https://raw.githubusercontent.com/nullpo-head/wsl-distrod/main/install.sh"
162+
chmod +x install.sh
163+
sudo ./install.sh update
164+
```
165+
155166
## How Distrod Works
156167

157168
In a nutshell, Distrod is a binary that creates a simple container that runs systemd as an init process,

0 commit comments

Comments
 (0)