HyperDrop command line

# HyperDrop from the terminal

The hyperdrop command shares files and folders through a HyperDrop server you or a friend runs. For Linux, macOS and Windows, on x86_64 or ARM64.

## Downloads

## Install

### macOS

One program for Apple silicon and Intel, signed and notarized by Apple. The zip also holds the bash and zsh completion files. HyperDrop for Mac carries its own copy for its own use; this one puts the command on your PATH, and both share one sign-in.

```
unzip hyperdrop-<version>-<revision>-macos.zip hyperdrop && sudo mkdir -p /usr/local/bin && sudo install -m 755 hyperdrop /usr/local/bin/
```

### Windows

Unzip hyperdrop.exe into a folder on your PATH. HyperDrop for Windows carries its own copy in cli\hyperdrop.exe for its own use. In PowerShell, x86_64 or ARM64:

```
Expand-Archive hyperdrop-<version>-<revision>-windows-amd64.zip "$env:LOCALAPPDATA\Programs\HyperDrop"
```

```
Expand-Archive hyperdrop-<version>-<revision>-windows-arm64.zip "$env:LOCALAPPDATA\Programs\HyperDrop"
```

Then add %LOCALAPPDATA%\Programs\HyperDrop to your PATH (Settings, System, About, Advanced system settings, Environment Variables). The program is not code-signed, so SmartScreen may ask once before it runs. The sign-in token is kept in Windows Credential Manager.

### Linux

To have updates arrive with your system’s own, install from the repository (#repository) instead. Debian and Ubuntu, x86_64 or ARM64:

```
sudo apt install ./hyperdrop_<version>-<revision>_amd64.deb
```

```
sudo apt install ./hyperdrop_<version>-<revision>_arm64.deb
```

Fedora and RHEL, x86_64 or ARM64 (openSUSE: sudo rpm --import https://gethyperdrop.com/keys/hyperdrop-packages.asc, then sudo zypper install the same file):

```
sudo dnf install ./hyperdrop-<version>-<revision>.x86_64.rpm
```

```
sudo dnf install ./hyperdrop-<version>-<revision>.aarch64.rpm
```

Any other distribution, or no root: the tarball holds the static binary and both completion files, x86_64 or ARM64.

```
tar xzf hyperdrop-<version>-<revision>-linux-amd64.tar.gz && sudo install -m 755 hyperdrop /usr/local/bin/
```

```
tar xzf hyperdrop-<version>-<revision>-linux-arm64.tar.gz && sudo install -m 755 hyperdrop /usr/local/bin/
```

No dependencies: the binary is static. Copying a link with --copy uses xclip, xsel or wl-copy when one is installed. Bash and zsh completion are installed with the package. Installing an older package than the one on the system, for a server still on an earlier version, needs apt install --allow-downgrades or dnf downgrade.

## Install from the repository

On Linux, the HyperDrop package repository installs the command line and keeps it current: updates then arrive with your system’s own (apt upgrade, dnf upgrade, zypper update). It carries the newest release only, for x86_64 and ARM64; an older one is a download from the downloads page (https://gethyperdrop.com/downloads/#cli). The repository is signed with the key 9D09 3499 BE6A DB30 C38F 3DAE 80AC 6826 B880 0F72.

### Debian and Ubuntu

```
sudo wget -qO /usr/share/keyrings/hyperdrop-packages.asc https://gethyperdrop.com/keys/hyperdrop-packages.asc
```

```
sudo wget -qO /etc/apt/sources.list.d/hyperdrop.sources https://gethyperdrop.com/downloads/hyperdrop.sources
```

```
sudo apt update && sudo apt install hyperdrop
```

### Fedora and RHEL

```
sudo curl -fsSL -o /etc/yum.repos.d/hyperdrop.repo https://gethyperdrop.com/downloads/hyperdrop.repo
```

```
sudo dnf install hyperdrop
```

dnf shows the key’s fingerprint and asks before trusting it, once for the repository and once for its packages.

### openSUSE

```
sudo zypper addrepo https://gethyperdrop.com/downloads/hyperdrop.repo
```

```
sudo zypper install hyperdrop
```

zypper shows the key’s fingerprint and asks before trusting it.

## First steps

```
hyperdrop connect https://your.server --user you
```

```
hyperdrop share ~/Photos --expires 7d
```

The command line works with HyperDrop servers inside its version window (two minor versions either side) and refuses others with instructions: Version mismatch (https://gethyperdrop.com/docs/updates/#version-mismatch) explains the rule and how to keep an older package for an older server. Everything else: Command line (https://gethyperdrop.com/docs/cli/).

## Updates

The command line's version is the server contract it speaks, so it moves with every server release. A second number after the dash is a re-release of the same version, for a change to the command line alone.

What changed in each release, and every earlier version, are on the downloads page (https://gethyperdrop.com/downloads/#cli).
