Dropshare User Guide

Search for answers to your questions by entering keywords below, or look through our knowledge base.

Contact Support | Community | Video Tutorials

How to install the Dropshare for Mac CLI?

Dropshare 5 or newer

Since macOS Big Sur, the CLI can no longer be installed automatically as the filesystem permissions are more restrictive.

To manually install the CLI, please enter the following commands in Terminal.app:

sudo mkdir -p /usr/local/bin

# For regular installations sudo ln -s "/Applications/Dropshare 5.app/Contents/Resources/ds.sh" /usr/local/bin/ds

# For Setapp installations
sudo ln -s "/Applications/Setapp/Dropshare.app/Contents/Resources/ds.sh" /usr/local/bin/ds
sudo chmod +x /usr/local/bin/ds

Dropshare 4 or newer

To install the Dropshare CLI, just open the Dropshare General preferences and click the "Install CLI" button. This will install the Dropshare CLI to /usr/local/bin/ds. Please make sure that /usr/local/bin is part of your PATH environment variable. Check this question on StackOverflow if you are unsure how to do this. 

The usage of the CLI is pretty straight forward, it currently supports uploading one file at a time:

$ ds filename.png

 

Dropshare 3

In case you want to use Dropshare for Mac from a Terminal, we offer a small shell script you can easily install on your Mac:

/usr/bin/curl -o /usr/local/bin/ds https://getdropsha.re/tools/ds.sh && chmod +x /usr/local/bin/ds

This commands will install a tool called ds which accepts a filename or path to upload as first and only parameter:

ds /Users/test/Desktop/Screenshot.png

As always, please contact us in case of any questions.

Was this article helpful?
13 out of 17 found this helpful