macOS
brew install onedrive-clilocal Homebrew formula metadata
brew
Folder synchronization with OneDrive. Version 2.5.11 via Homebrew; verified 2026-06-30.
install
brew install onedrive-clilocal Homebrew formula metadata
sudo apk add onedriveAlpine Linux edge package indexes · onedrive · source: dl-cdn.alpinelinux.org
sudo apt install onedriveDebian stable package indexes · onedrive · source: deb.debian.org
sudo dnf install onedriveFedora Rawhide package metadata · onedrive · source: dl.fedoraproject.org
nix profile install nixpkgs#onedrivenixpkgs package indexes · pkgs/by-name/on/onedrive/package.nix · source: api.github.com
sudo zypper install onedriveopenSUSE Tumbleweed package metadata · onedrive · source: download.opensuse.org
choco install onedriveChocolatey community package catalog · onedrive · source: community.chocolatey.org
winget install --id Microsoft.OneDrive -eWindows Package Manager source index · Microsoft.OneDrive · source: cdn.winget.microsoft.com
overview
Folder synchronization with OneDrive
history
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.
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.
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.
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.
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.
security posture
broad file, network, media, or database tool signal. formula declares a Homebrew service.
orange risk · medium confidence · infrastructure
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
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.
Config paths the tool may read or write during local use.
~/.config/onedrive/configCredential-bearing paths to review before unattended agent runs.
~/.config/onedrive/refresh_tokenexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
onedrive | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/abraunegg/onedrive
install metadata
| Package key | brew:onedrive-cli |
|---|---|
| Version | 2.5.11 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/onedrive-cli |
| Homepage | https://abraunegg.github.io |
| Repository | https://github.com/abraunegg/onedrive |
| Upstream docs | https://github.com/abraunegg/onedrive#readme |
| License | GPL-3.0-only |
| Source archive | https://github.com/abraunegg/onedrive/archive/refs/tags/v2.5.11.tar.gz |
| Last updated | 2026-06-30T08:36:20Z |
| Pulse | updated |
| Dependencies | curl, dbus, sqlite, systemd |
| Build dependencies | ldc, pkgconf |
| Bottle | available (on arm64_linux, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | onedrive-cli |
| Version Scheme | 0 |
| Revision | 0 |
| Requirements |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
onedrive 2.5.4-1
folder synchronization with OneDrive
https://github.com/abraunegg/onedrive
sudo apt install onedriveonedrive
nix profile install nixpkgs#onedriveonedrive 2.4.25-1build5
folder synchronization with OneDrive
https://github.com/abraunegg/onedrive
sudo apt install onedriveonedrive 2.5.10-r1
OneDrive Client for Linux
sudo apk add onedriveonedrive-doc 2.5.10-r1
OneDrive Client for Linux (documentation)
sudo apk add onedrive-doconedrive-openrc 2.5.10-r1
OneDrive Client for Linux (OpenRC init scripts)
sudo apk add onedrive-openrconedrive 2.5.10-2.fc45
OneDrive Free Client written in D
https://github.com/abraunegg/onedrive
sudo dnf install onedriveonedrive 2.5.10-1.4
Client for One Drive Service for Linux
https://github.com/abraunegg/onedrive/
sudo zypper install onedriveonedrive-completion-bash 2.5.10-1.4
OneDrive Bash completion
https://github.com/abraunegg/onedrive/
sudo zypper install onedrive-completion-bashonedrive-completion-fish 2.5.10-1.4
OneDrive fish completion
https://github.com/abraunegg/onedrive/
sudo zypper install onedrive-completion-fishonedrive-completion-zsh 2.5.10-1.4
OneDrive zsh completion
https://github.com/abraunegg/onedrive/
sudo zypper install onedrive-completion-zshonedrive
choco install onedriveMicrosoft.OneDrive
winget install --id Microsoft.OneDrive -esource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.