---
title: Install onedrive-cli on Linux | Snap Store
description: Get the latest version of onedrive-cli for Linux - Free OneDrive Client
  for Linux
url: https://snapcraft.io/onedrive-cli
---

# onedrive-cli

[Yuzukosho (aoilinux)](https://snapcraft.io/publisher/aoilinux "View all snaps from Yuzukosho (aoilinux)")

* [Yuzukosho (aoilinux)](https://snapcraft.io/publisher/aoilinux "View all snaps from Yuzukosho (aoilinux)")
* [Productivity](https://snapcraft.io/search?categories=productivity)

latest/stable 2.5.11

Install latest/stable of onedrive-cli

---

**Install using the command line**

```
sudo snap install onedrive-cli
```

Don't have snapd? [Get set up for snaps](https://snapcraft.io/docs/installing-snapd).

---

### Package name

* onedrive-cli

---

### License

* GPL-3.0+

---

### Last updated

* 3 July 2026 - latest/stable
* 30 June 2026 - latest/edge

---

### Websites

* [abraunegg.github.io](https://abraunegg.github.io/ "https://abraunegg.github.io/")

---

### Report a bug

* [github.com/boukendesho/onedrive-cli-snap/issues](https://github.com/boukendesho/onedrive-cli-snap/issues "https://github.com/boukendesho/onedrive-cli-snap/issues")

---

##### Report a Snap Store violation

* [Report this Snap](https://snapcraft.io/onedrive-cli#report-snap-modal)

---

* [Description](https://snapcraft.io/onedrive-cli#tab-description)
* [Security](https://snapcraft.io/onedrive-cli#tab-security)

#### 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](https://snapcraft.io/docs/installing-snapd).

[### Arch Linux](https://snapcraft.io/install/onedrive-cli/arch)

[### CentOS](https://snapcraft.io/install/onedrive-cli/centos)

[### Debian](https://snapcraft.io/install/onedrive-cli/debian)

[### elementary OS](https://snapcraft.io/install/onedrive-cli/elementary)

[### Fedora](https://snapcraft.io/install/onedrive-cli/fedora)

[### KDE Neon](https://snapcraft.io/install/onedrive-cli/kde-neon)

[### Kubuntu](https://snapcraft.io/install/onedrive-cli/kubuntu)

[### Manjaro](https://snapcraft.io/install/onedrive-cli/manjaro)

[### Pop!\_OS](https://snapcraft.io/install/onedrive-cli/pop)

[### openSUSE](https://snapcraft.io/install/onedrive-cli/opensuse)

[### Red Hat Enterprise Linux](https://snapcraft.io/install/onedrive-cli/rhel)

[### Ubuntu](https://snapcraft.io/install/onedrive-cli/ubuntu)

[### Raspberry Pi](https://snapcraft.io/install/onedrive-cli/raspbian)
