Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a4cc118

Browse files
authored
Update install_linux.md
Added missing directive (bash) to ensure dnf has config-manager command correctly loaded, prior to adding a repo. Usually missing e.g., in a Docker container.
1 parent f6b8bbe commit a4cc118

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

docs/install_linux.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ sudo apt install gh
3232
Install from our package repository for immediate access to latest releases:
3333

3434
```bash
35+
sudo dnf install 'dnf-command(config-manager)'
3536
sudo dnf config-manager --add-repo https://cli.github.com/packages/rpm/gh-cli.repo
3637
sudo dnf install gh
3738
```

0 commit comments

Comments
 (0)