Member-only story
My Fedora 40 Development Setup
Learn how to install Copilot CLI, Node.js, Node.js, Visual Studio Code, development packages, and Docker with step-by-step CLI commands

Copilot CLI
We need to install GitHub CLI first. I would like to install it from Github’s package repository for immediate access to the latest releases:
sudo dnf install 'dnf-command(config-manager)'
sudo dnf config-manager --add-repo https://cli.github.com/packages/rpm/gh-cli.repo
sudo dnf install gh
Now, we can install Copilot in the CLI. First, we need to authenticate our Github account:
gh auth login
After authenticating our account, we need to install copilot as a Github CLI extension:
gh extension install github/gh-copilot
If you see a successful installation message, then we are all set. If you would like to upgrade Copilot CLI, here is the command:
gh extension upgrade gh-copilot
The Copilot CLI extension’s command is a bit long so that we can use the power of aliases in Linux. If you followed my My Fedora (Gnome) Setup article,