onedrive-cli
Install latest/stable of onedrive-cli
Ubuntu 16.04 or later?
Make sure snap support is enabled in your Desktop store.
Install using the command line
sudo snap install onedrive-cli
Don't have snapd? Get set up for snaps.
Details for onedrive-cli
Package name
- onedrive-cli
License
- GPL-3.0+
Last updated
- 3 July 2026 - latest/stable
- 30 June 2026 - latest/edge
Websites
Report a bug
External link warning
You are about to open
Do you wish to proceed?
Report a Snap Store violation
Report onedrive-cli for a Snap Store violation
Snap Store Violation Report submitted successfully
Thank you for your report. Information you provided will help us investigate further.
Error submitting report
There was an error while sending your report. Please try again later.
Share this snap
Generate an embeddable card to be shared on external websites.
Free OneDrive Client for Linux
A free Microsoft OneDrive Client which supports OneDrive Personal, OneDrive for Business, OneDrive for Office365 and SharePoint.
Please note that this is not an officially maintained package. Use at your own risk.
Due to the strict confinement of Snap, the default paths are different.
- Default data directory: /home/$Your_User_Name/snap/onedrive-cli/current/OneDrive
- Default config directory: /home/$Your_User_Name/snap/onedrive-cli/current/.config/onedrive
You can change the default data directory to a dir under your home dirctory, by modify the config file.
$ echo 'sync_dir = "/home/$change_to_your_username/onedrive"' >> /home/$USER/snap/onedrive-cli/current/.config/onedrive/config
| Revision | Channel | Version | Build | Commit | Download SBOM |
|---|
The build and commit information is derived from build infrastructure records.
Install onedrive-cli 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.