From 4e5ef8eba983b0178ba1b81b373a59f8b131c3a5 Mon Sep 17 00:00:00 2001 From: Uman Shahzad Date: Wed, 14 Apr 2021 03:13:58 +0500 Subject: [PATCH] use -O in curl cmd so filename defaults to target filename. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1ad91ada..972d96db 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ After choosing a platform `PLAT` from above, run: ```bash # for Windows, use ".zip" instead of ".tar.gz" -$ curl -L https://github.com/ipinfo/cli/releases/download/ipinfo-1.0.0/ipinfo_1.0.0_${PLAT}.tar.gz +$ curl -LO https://github.com/ipinfo/cli/releases/download/ipinfo-1.0.0/ipinfo_1.0.0_${PLAT}.tar.gz # OR $ wget https://github.com/ipinfo/cli/releases/download/ipinfo-1.0.0/ipinfo_1.0.0_${PLAT}.tar.gz @@ -55,7 +55,7 @@ $ mv ipinfo_1.0.0_${PLAT} /usr/local/bin/ipinfo The `ipinfo` binary will be installed in `/usr/local/bin/ipinfo`: ```bash -$ curl -L https://github.com/ipinfo/cli/releases/download/ipinfo-1.0.0/ipinfo_1.0.0.deb +$ curl -LO https://github.com/ipinfo/cli/releases/download/ipinfo-1.0.0/ipinfo_1.0.0.deb $ sudo dpkg -i ipinfo_1.0.0.deb ```