Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Mar 27, 2024. It is now read-only.

Commit 989fd8d

Browse files
authored
Merge pull request #360 from lvjp/master
Make installation command be better
2 parents bea7ad9 + 386bbbd commit 989fd8d

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

‎README.md‎

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,22 @@ These analyses can be performed on a single image, or a diff can be performed on
2222

2323
### macOS
2424
```shell
25-
curl -LO https://storage.googleapis.com/container-diff/latest/container-diff-darwin-amd64 && chmod +x container-diff-darwin-amd64 && sudo mv container-diff-darwin-amd64 /usr/local/bin/container-diff
25+
curl -LO https://storage.googleapis.com/container-diff/latest/container-diff-darwin-amd64 && \
26+
sudo install container-diff-darwin-amd64 /usr/local/bin/container-diff
2627
```
2728

2829
### Linux
2930
```shell
30-
curl -LO https://storage.googleapis.com/container-diff/latest/container-diff-linux-amd64 && chmod +x container-diff-linux-amd64 && sudo mv container-diff-linux-amd64 /usr/local/bin/container-diff
31+
curl -LO https://storage.googleapis.com/container-diff/latest/container-diff-linux-amd64 && \
32+
sudo install container-diff-linux-amd64 /usr/local/bin/container-diff
3133
```
3234

3335
OR, if you want to avoid using sudo:
3436

3537
```shell
36-
curl -LO https://storage.googleapis.com/container-diff/latest/container-diff-linux-amd64 && chmod +x container-diff-linux-amd64 && mkdir -p $HOME/bin && export PATH=$PATH:$HOME/bin && mv container-diff-linux-amd64 $HOME/bin/container-diff
38+
curl -LO https://storage.googleapis.com/container-diff/latest/container-diff-linux-amd64 && \
39+
mkdir -p "$HOME/bin" && export PATH="$PATH:$HOME/bin" && \
40+
install container-diff-linux-amd64 $HOME/bin/container-diff
3741
```
3842

3943
There is also an [Arch Linux package](https://www.archlinux.org/packages/community/x86_64/container-diff/). You can install by running:

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /