macOS
brew install onedrive-clilocal Homebrew formula metadata
安装
brew install onedrive-clilocal Homebrew formula metadata
sudo apk add onedriveAlpine Linux edge package indexes · onedrive · 来源: dl-cdn.alpinelinux.org
sudo apt install onedriveDebian stable package indexes · onedrive · 来源: deb.debian.org
sudo dnf install onedriveFedora Rawhide package metadata · onedrive · 来源: dl.fedoraproject.org
nix profile install nixpkgs#onedrivenixpkgs package indexes · pkgs/by-name/on/onedrive/package.nix · 来源: api.github.com
sudo zypper install onedriveopenSUSE Tumbleweed package metadata · onedrive · 来源: download.opensuse.org
choco install onedriveChocolatey community package catalog · onedrive · 来源: community.chocolatey.org
winget install --id Microsoft.OneDrive -eWindows Package Manager source index · Microsoft.OneDrive · 来源: cdn.winget.microsoft.com
概览
Folder synchronization with OneDrive
历史
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.
安全态势
broad file, network, media, or database tool signal. formula declares a Homebrew service.
orange 风险 · 中 置信度 · infrastructure
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
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_token可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
onedrive | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:onedrive-cli |
|---|---|
| 版本 | 2.5.11 |
| 软件包管理器 | Homebrew |
| 主页 | https://abraunegg.github.io |
| 仓库 | https://github.com/abraunegg/onedrive |
| 最后更新 | 2026-06-30T08:36:20Z |
| Pulse | updated |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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.11-2.fc45
OneDrive Free Client written in D
https://github.com/abraunegg/onedrive
sudo dnf install onedriveonedrive 2.5.11-1.2
Client for One Drive Service for Linux
https://github.com/abraunegg/onedrive/
sudo zypper install onedriveonedrive-completion-bash 2.5.11-1.2
OneDrive Bash completion
https://github.com/abraunegg/onedrive/
sudo zypper install onedrive-completion-bashonedrive-completion-fish 2.5.11-1.2
OneDrive fish completion
https://github.com/abraunegg/onedrive/
sudo zypper install onedrive-completion-fishonedrive-completion-zsh 2.5.11-1.2
OneDrive zsh completion
https://github.com/abraunegg/onedrive/
sudo zypper install onedrive-completion-zshonedrive
choco install onedriveMicrosoft.OneDrive
winget install --id Microsoft.OneDrive -e来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.