The code below used spaces to indent two of the lines, and tabs for the other 6 lines. This makes indenting inconsistent in settings where tabs are not rendered as 8 spaces. I've replaced the spaces with tabs.
```
(type -p wget >/dev/null || (sudo apt update && sudo apt-get install wget -y)) \
&& sudo mkdir -p -m 755 /etc/apt/keyrings \
&& out=$(mktemp) && wget -nv -O$out https://cli.github.com/packages/githubcli-archive-keyring.gpg \
&& cat $out | sudo tee /etc/apt/keyrings/githubcli-archive-keyring.gpg > /dev/null \
&& sudo chmod go+r /etc/apt/keyrings/githubcli-archive-keyring.gpg \
&& sudo mkdir -p -m 755 /etc/apt/sources.list.d \
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null \
&& sudo apt update \
&& sudo apt install gh -y
```
|
||
|---|---|---|
| .. | ||
| codespaces.md | ||
| command-line-syntax.md | ||
| gh-vs-hub.md | ||
| install_linux.md | ||
| license-compliance.md | ||
| multiple-accounts.md | ||
| project-layout.md | ||
| README.md | ||
| release-process-deep-dive.md | ||
| releasing.md | ||
| source.md | ||
| triage.md | ||
| working-with-us.md | ||
This folder is used for documentation related to developing gh. Docs for gh installation and usage are available at https://cli.github.com/manual.