Temporary performance degradation

We are currently experiencing service degradation and working on resolving this. Thank you for your patience and understanding.

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.

Channel Version Published

Details for onedrive-cli

Package name

  • onedrive-cli

License

  • GPL-3.0+

Last updated

  • 23 February 2026 - latest/stable
  • 23 February 2026 - latest/edge

Websites


Report a bug


Report a Snap Store violation

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


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.


Where people are using onedrive-cli

Users by distribution (log)

Ubuntu 24.04
Zorin OS 18
Ubuntu 25.10
Ubuntu 22.04
Ubuntu 26.04
Zorin OS 17
Ubuntu 20.04
Debian 12
Fedora 44
Debian 13
Fedora 43
Linux Mint 22.3
pop 24.04
Ubuntu 25.04
KDE Neon 24.04