Automic VaultAutomic Vault

brew

Install onedrive-cli with Homebrew, apk, chocolatey, apt, dnf, Nix, winget, zypper

Folder synchronization with OneDrive. Version 2.5.11 via Homebrew; verified 2026-06-30.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install onedrive-cli

local Homebrew formula metadata

Linux

Alpine Linux apkverified · 92%
sudo apk add onedrive

Alpine Linux edge package indexes · onedrive · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install onedrive

Debian stable package indexes · onedrive · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install onedrive

Fedora Rawhide package metadata · onedrive · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#onedrive

nixpkgs package indexes · pkgs/by-name/on/onedrive/package.nix · source: api.github.com

openSUSE zypperverified · 92%
sudo zypper install onedrive

openSUSE Tumbleweed package metadata · onedrive · source: download.opensuse.org

overview

Package summary

Folder synchronization with OneDrive

Commands and aliases

  • onedrive

history

Project history and usage

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.

Project history

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 history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 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.

security posture

Risk level: orange

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

Risk classifier

orange risk · medium confidence · infrastructure

Why

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

Signals

  • metadata:service
  • text:sync

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Formula metadata declares a service or daemon block.
  • Homebrew bottle metadata is available for 2 platform targets.
  • Installs with 4 runtime dependencies.
  • Build metadata lists 2 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

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

Config paths the tool may read or write during local use.

Unix
~/.config/onedrive/config

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.config/onedrive/refresh_token

executables

Installed executables

CommandKindExposureNote
onedrivecliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version2.5.11
manager updated2026-06-30
local dataok
upstreamcurrent
latest detectedv2.5.11

https://github.com/abraunegg/onedrive

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:onedrive-cli
Version2.5.11
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/onedrive-cli
Homepagehttps://abraunegg.github.io
Repositoryhttps://github.com/abraunegg/onedrive
Upstream docshttps://github.com/abraunegg/onedrive#readme
LicenseGPL-3.0-only
Source archivehttps://github.com/abraunegg/onedrive/archive/refs/tags/v2.5.11.tar.gz
Last updated2026-06-30T08:36:20Z
Pulseupdated
Dependenciescurl, dbus, sqlite, systemd
Build dependenciesldc, pkgconf
Bottleavailable (on arm64_linux, x86_64_linux)
Homebrew post-installnot defined
Servicedeclared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameonedrive-cli
Version Scheme0
Revision0
Requirements
  • linux
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt92%

onedrive 2.5.4-1

folder synchronization with OneDrive

https://github.com/abraunegg/onedrive

sudo apt install onedrive
  • Section: net
  • Architecture: amd64
  • 8 dependencies
  • installed executable or alias match
  • Matched by: Onedrive
Debian stable package indexes · deb.debian.org · Debian stable package indexes: onedrive from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix92%

onedrive

nix profile install nixpkgs#onedrive
  • installed executable or alias match
  • Matched by: Onedrive
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/on/onedrive/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt92%

onedrive 2.4.25-1build5

folder synchronization with OneDrive

https://github.com/abraunegg/onedrive

sudo apt install onedrive
  • Section: universe/net
  • Architecture: amd64
  • 7 dependencies
  • installed executable or alias match
  • Matched by: Onedrive
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: onedrive from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk92%

onedrive 2.5.10-r1

OneDrive Client for Linux

https://abraunegg.github.io

sudo apk add onedrive
  • License: GPL-3.0-only
  • Architecture: x86_64
  • Source Package: onedrive
  • 1 dependencies
  • 1 provides
  • installed executable or alias match
  • Matched by: Onedrive
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: onedrive from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk92%

onedrive-doc 2.5.10-r1

OneDrive Client for Linux (documentation)

https://abraunegg.github.io

sudo apk add onedrive-doc
  • License: GPL-3.0-only
  • Architecture: x86_64
  • Source Package: onedrive
  • installed executable or alias match
  • Matched by: Onedrive
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: onedrive-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk92%

onedrive-openrc 2.5.10-r1

OneDrive Client for Linux (OpenRC init scripts)

https://abraunegg.github.io

sudo apk add onedrive-openrc
  • License: GPL-3.0-only
  • Architecture: x86_64
  • Source Package: onedrive
  • installed executable or alias match
  • Matched by: Onedrive
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: onedrive-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf92%

onedrive 2.5.10-2.fc45

OneDrive Free Client written in D

https://github.com/abraunegg/onedrive

sudo dnf install onedrive
  • License: GPL-3.0-only
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: onedrive
  • 18 dependencies
  • 2 provides
  • installed executable or alias match
  • Matched by: Onedrive
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: onedrive from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
zypper92%

onedrive 2.5.10-1.4

Client for One Drive Service for Linux

https://github.com/abraunegg/onedrive/

sudo zypper install onedrive
  • License: GPL-3.0-only
  • Category: Productivity/Networking/Other
  • Architecture: x86_64
  • Source Package: onedrive
  • 12 dependencies
  • 2 provides
  • installed executable or alias match
  • Matched by: Onedrive
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: onedrive from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper92%

onedrive-completion-bash 2.5.10-1.4

OneDrive Bash completion

https://github.com/abraunegg/onedrive/

sudo zypper install onedrive-completion-bash
  • License: GPL-3.0-only
  • Category: Productivity/Networking/Other
  • Architecture: noarch
  • Source Package: onedrive
  • 3 dependencies
  • 1 provides
  • installed executable or alias match
  • Matched by: Onedrive
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: onedrive-completion-bash from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper92%

onedrive-completion-fish 2.5.10-1.4

OneDrive fish completion

https://github.com/abraunegg/onedrive/

sudo zypper install onedrive-completion-fish
  • License: GPL-3.0-only
  • Category: Productivity/Networking/Other
  • Architecture: noarch
  • Source Package: onedrive
  • 2 dependencies
  • 1 provides
  • installed executable or alias match
  • Matched by: Onedrive
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: onedrive-completion-fish from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper92%

onedrive-completion-zsh 2.5.10-1.4

OneDrive zsh completion

https://github.com/abraunegg/onedrive/

sudo zypper install onedrive-completion-zsh
  • License: GPL-3.0-only
  • Category: Productivity/Networking/Other
  • Architecture: noarch
  • Source Package: onedrive
  • 2 dependencies
  • 1 provides
  • installed executable or alias match
  • Matched by: Onedrive
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: onedrive-completion-zsh from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
Chocolatey92%

onedrive

choco install onedrive
  • installed executable or alias match
  • Matched by: Onedrive
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: onedrive from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','office365homepremium'
winget92%

Microsoft.OneDrive

winget install --id Microsoft.OneDrive -e
  • installed executable or alias match
  • Matched by: Onedrive
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: Microsoft.OneDrive from https://cdn.winget.microsoft.com/cache/source.msix

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment