---
title: Install copilot-api on Linux | Snap Store
description: Get the latest version of copilot-api for Linux - Copilot-api is a reverse-engineered
  proxy of GitHub Copilot API
url: https://snapcraft.io/copilot-api
---

# copilot-api

[Adam Hawes (adamhawes)](https://snapcraft.io/publisher/adamhawes "View all snaps from Adam Hawes (adamhawes)")

* [Adam Hawes (adamhawes)](https://snapcraft.io/publisher/adamhawes "View all snaps from Adam Hawes (adamhawes)")
* [Utilities](https://snapcraft.io/search?categories=utilities)

latest/stable 2.6.24

Install latest/stable of copilot-api

---

**Install using the command line**

```
sudo snap install copilot-api
```

Don't have snapd? [Get set up for snaps](https://snapcraft.io/docs/installing-snapd).

---

### Package name

* copilot-api

---

### License

* MIT

---

### Last updated

* 2 October 2026 - latest/stable
* 2 October 2026 - latest/edge

---

### Websites

* [github.com/hawesy-can/copilot-api](https://github.com/hawesy-can/copilot-api "https://github.com/hawesy-can/copilot-api")
* [github.com/caozhiyuan/copilot-api](https://github.com/caozhiyuan/copilot-api "https://github.com/caozhiyuan/copilot-api")
* [www.npmjs.com](https://www.npmjs.com/package/@jeffreycao/copilot-api "https://www.npmjs.com/package/@jeffreycao/copilot-api")

---

### Source code

* [github.com/hawesy-can/copilot-api](https://github.com/hawesy-can/copilot-api "https://github.com/hawesy-can/copilot-api")

---

##### Report a Snap Store violation

* [Report this Snap](https://snapcraft.io/copilot-api#report-snap-modal)

---

* [Description](https://snapcraft.io/copilot-api#tab-description)
* [Security](https://snapcraft.io/copilot-api#tab-security)

#### Copilot-api is a reverse-engineered proxy of GitHub Copilot API

This is a reverse-engineered proxy of GitHub Copilot API. It is not supported
by GitHub, and may break unexpectedly. Use at your own risk.

This snap is not created by the copilot-api authors.

This snap uses experimental per-user daemons. Enable support in snapd before
installing it:

```
 sudo snap set system experimental.user-daemons=true
```

After installation, each user must log in to GitHub Copilot:

```
 copilot-api.login
```

The service listens on port 4141 by default. Show the current port with:

```
 copilot-api.config port
```

Set a different port with:

```
 copilot-api.config port 8080
```

Login and port settings are stored separately for each user. After logging in
or changing the port, restart that user's service:

```
 snap restart --user copilot-api
```

See the NPM page at <https://www.npmjs.com/package/copilot-api> for more
details.

---

## Install copilot-api on your Linux distribution

Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the [installing snapd documentation](https://snapcraft.io/docs/installing-snapd).

[### Arch Linux](https://snapcraft.io/install/copilot-api/arch)

[### CentOS](https://snapcraft.io/install/copilot-api/centos)

[### Debian](https://snapcraft.io/install/copilot-api/debian)

[### elementary OS](https://snapcraft.io/install/copilot-api/elementary)

[### Fedora](https://snapcraft.io/install/copilot-api/fedora)

[### KDE Neon](https://snapcraft.io/install/copilot-api/kde-neon)

[### Kubuntu](https://snapcraft.io/install/copilot-api/kubuntu)

[### Manjaro](https://snapcraft.io/install/copilot-api/manjaro)

[### Pop!\_OS](https://snapcraft.io/install/copilot-api/pop)

[### openSUSE](https://snapcraft.io/install/copilot-api/opensuse)

[### Red Hat Enterprise Linux](https://snapcraft.io/install/copilot-api/rhel)

[### Ubuntu](https://snapcraft.io/install/copilot-api/ubuntu)
