Skip to content

Commit d8b1fea

Browse files
author
Christer Barreholm
committed
Support forks when installing
1 parent dc2aa25 commit d8b1fea

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,15 @@ Claude for the security-conscious: run [claude-code, the claude cli tool](https:
66
Installation
77
----
88

9-
First, download and install podman. Installation is easy and secure with curl
9+
First, download and install podman. Then install the script with curl. Set
10+
`REPO` to match your fork (e.g. `?????/claude-podman`):
1011

1112
```sh
13+
REPO=evancarroll/claude-podman
1214
curl --proto '=https' --tlsv1.2 -sSf \
13-
https://raw.githubusercontent.com/EvanCarroll/claude-podman/refs/heads/main/bin/claude |
14-
sudo tee /usr/local/bin/claude-podman
15+
"https://raw.githubusercontent.com/$REPO/refs/heads/main/bin/claude" |
16+
sed "s|^REPO_NAME=.*|REPO_NAME=$REPO|" |
17+
sudo tee /usr/local/bin/claude-podman > /dev/null
1518
sudo chmod a+x /usr/local/bin/claude-podman
1619
```
1720

bin/claude

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ while [[ $# -gt 0 ]]; do
3030
--self-update)
3131
curl --proto '=https' --tlsv1.2 -sSf \
3232
"https://raw.githubusercontent.com/$REPO_NAME/refs/heads/main/bin/claude" |
33+
sed "s|^REPO_NAME=.*|REPO_NAME=$REPO_NAME|" |
3334
sudo tee /usr/local/bin/claude-podman >/dev/null
3435
sudo chmod a+x /usr/local/bin/claude-podman
3536
echo "Updated"

0 commit comments

Comments
 (0)