# Installer onedrive-cli avec Homebrew, apk, chocolatey, apt, dnf, Nix, zypper, winget

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de onedrive-cli pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:onedrive-cli
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install onedrive-cli
```

  Preuve: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add onedrive
```

  Preuve: Alpine Linux edge package indexes: onedrive from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install onedrive
```

  Preuve: Debian stable package indexes: onedrive from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install onedrive
```

  Preuve: Fedora Rawhide package metadata: onedrive from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#onedrive
```

  Preuve: nixpkgs package indexes: pkgs/by-name/on/onedrive/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install onedrive
```

  Preuve: openSUSE Tumbleweed package metadata: onedrive from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install onedrive
```

  Preuve: Chocolatey community package catalog: onedrive from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','nvs'

- winget (92%):

```sh
winget install --id Microsoft.OneDrive -e
```

  Preuve: Windows Package Manager source index: Microsoft.OneDrive from https://cdn.winget.microsoft.com/cache/source.msix

## Faits du paquet

- **Clé du paquet:** brew:onedrive-cli
- **Gestionnaire de paquets:** Homebrew
- **Version:** 2.5.11
- **Résumé source:** Folder synchronization with OneDrive
- **Page d'accueil:** <https://abraunegg.github.io>
- **Dépôt:** <https://github.com/abraunegg/onedrive>
- **Dernière mise à jour:** 2026-06-30T08:36:20Z
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- onedrive (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 2.5.11
## Historique du projet et usages

OneDrive Client for Linux is a GPL-3.0 command-line sync client for Microsoft OneDrive, OneDrive for Business, Microsoft 365, and SharePoint document libraries. The Homebrew package name onedrive-cli distinguishes it from Microsoft's Windows and macOS OneDrive applications while installing the onedrive executable on Linux.

### Historique du projet

The maintained abraunegg project originated as a fork of the skilion OneDrive client in early 2018. The upstream README says the fork followed unmerged improvements and bug fixes, including pull requests #82 and #314, and a period in which skilion development and issue handling had largely stalled.

The README records later milestones in the fork's justification: in 2020 the original skilion developer said they did not intend to maintain or support their work; the original skilion repository was archived in December 2024; and its last code change was merged in November 2021. The abraunegg fork continued as the actively maintained Linux client.

### Historique d'adoption

Adoption grew around a practical gap: Microsoft did not provide an official OneDrive sync client for Linux distributions, while Linux desktop and server users still needed bidirectional file synchronization. The project documents installation across Linux and FreeBSD environments and supports container deployment with Docker or Podman.

Homebrew's formula packages onedrive-cli for Linux ARM64 and x86_64, depends on system integration pieces such as dbus and systemd, and links to the project's maintained documentation. The upstream README also points to external GUI, tray, and log-coloring companions rather than folding those features into the CLI.

### Modes d'utilisation

Operators use onedrive for one-way or two-way synchronization, daemon-style background sync, selective sync, multiple configuration profiles, SharePoint and Business shared-item syncing, and headless server deployments. Configuration and token files live under ~/.config/onedrive, matching the CLI-first model of a long-running sync agent.

The project is also used in desktop Linux setups where libnotify and file-manager integration provide visible sync status, but the README stresses that most functionality works without a graphical environment.

### Pourquoi les passionnés de paquets s'y intéressent

This package is a good example of an ecosystem-maintained replacement for a missing vendor client. Its packaging story matters because the same binary straddles desktop convenience, server automation, OAuth token handling, distro service management, and Microsoft API compatibility.

### Chronologie

- Early 2018: the abraunegg project forked the skilion client.
- 2020: the skilion maintainer confirmed no intent to maintain or support the original client.
- November 2021: the original skilion repository received its last code change, according to the abraunegg README.
- December 2024: the original skilion repository was archived and made read-only on GitHub.

### Related projects

- The project is directly descended from the skilion client. The README also links related companion projects for GUI configuration, tray status, and colored logging.

### Sources

- <https://abraunegg.github.io>
- <https://formulae.brew.sh/formula/onedrive-cli>
- <https://github.com/abraunegg/onedrive>


## Notes de sécurité

broad file, network, media, or database tool signal. formula declares a Homebrew service.

- **Risque Geiger:** orange / moyen
- broad file, network, media, or database tool signal
- formula declares a Homebrew service


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.config/onedrive/config

## Credential files

- Unix: ~/.config/onedrive/refresh_token
## Autres enregistrements de gestionnaires de paquets

- Debian apt - onedrive - 2.5.4-1: installed executable or alias match | Debian stable package indexes: onedrive from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | folder synchronization with OneDrive | https://github.com/abraunegg/onedrive
- Nix - onedrive: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/on/onedrive/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - onedrive - 2.4.25-1build5: installed executable or alias match | Ubuntu 24.04 LTS package indexes: onedrive from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | folder synchronization with OneDrive | https://github.com/abraunegg/onedrive
- apk - onedrive - 2.5.10-r1: installed executable or alias match | Alpine Linux edge package indexes: onedrive from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | OneDrive Client for Linux | https://abraunegg.github.io
- apk - onedrive-doc - 2.5.10-r1: installed executable or alias match | Alpine Linux edge package indexes: onedrive-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | OneDrive Client for Linux (documentation) | https://abraunegg.github.io
- apk - onedrive-openrc - 2.5.10-r1: installed executable or alias match | Alpine Linux edge package indexes: onedrive-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | OneDrive Client for Linux (OpenRC init scripts) | https://abraunegg.github.io
- dnf - onedrive - 2.5.11-2.fc45: installed executable or alias match | Fedora Rawhide package metadata: onedrive from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | OneDrive Free Client written in D | https://github.com/abraunegg/onedrive
- zypper - onedrive - 2.5.11-1.2: installed executable or alias match | openSUSE Tumbleweed package metadata: onedrive from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Client for One Drive Service for Linux | https://github.com/abraunegg/onedrive/
- zypper - onedrive-completion-bash - 2.5.11-1.2: installed executable or alias match | openSUSE Tumbleweed package metadata: onedrive-completion-bash from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | OneDrive Bash completion | https://github.com/abraunegg/onedrive/
- zypper - onedrive-completion-fish - 2.5.11-1.2: installed executable or alias match | openSUSE Tumbleweed package metadata: onedrive-completion-fish from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | OneDrive fish completion | https://github.com/abraunegg/onedrive/
- zypper - onedrive-completion-zsh - 2.5.11-1.2: installed executable or alias match | openSUSE Tumbleweed package metadata: onedrive-completion-zsh from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | OneDrive zsh completion | https://github.com/abraunegg/onedrive/
- Chocolatey - onedrive: installed executable or alias match | Chocolatey community package catalog: onedrive from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','nvs'
- winget - Microsoft.OneDrive: installed executable or alias match | Windows Package Manager source index: Microsoft.OneDrive from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

View the package source record on GitHub. [combined/onedrive-cli.yml](https://github.com/mxcl/pkgdb/blob/main/combined/onedrive-cli.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
