diff --git a/docs/installation/methods.yml b/docs/installation/methods.yml index cabf577a..1cc09762 100644 --- a/docs/installation/methods.yml +++ b/docs/installation/methods.yml @@ -37,13 +37,13 @@ tools: package: https://packages.debian.org/sid/web/httpie commands: install: - - curl -SsL https://packages.httpie.io/deb/KEY.gpg | apt-key add - - - curl -SsL -o /etc/apt/sources.list.d/httpie.list https://packages.httpie.io/deb/httpie.list - - apt update - - apt install httpie + - curl -SsL https://packages.httpie.io/deb/KEY.gpg | sudo gpg --dearmor -o /usr/share/keyrings/httpie.gpg + # - curl -SsL -o /etc/apt/sources.list.d/httpie.list https://packages.httpie.io/deb/httpie.list + - sudo echo "deb [arch=amd64 signed-by=/usr/share/keyrings/httpie.gpg] https://packages.httpie.io/deb ./" > /etc/apt/sources.list.d/httpie.list + - sudo apt update + - sudo apt install httpie upgrade: - - apt update - - apt upgrade httpie + - sudo apt update && sudo apt upgrade httpie brew-mac: title: Homebrew