# pathcopy-agent

> Pair a computer or server with Remote Path Copy.

Latest version **0.5.0** (published 2026-06-30) · 0 weekly downloads

## Install

```sh
npm install pathcopy-agent
pnpm add pathcopy-agent
yarn add pathcopy-agent
bun add pathcopy-agent
```

Provides the command `pathcopy`.

## Health

**Score 45/100 (D)** — status: active.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; low quality score; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.5.0 |
| Published | 2026-06-30 |
| First published | 2026-06-29 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | ESM |
| Node | >=20 |
| Dependencies | 2 |
| Unpacked size | 27.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | zoer7788 |

## Links

- npm: https://www.npmjs.com/package/pathcopy-agent
- npm.io page: https://npm.io/package/pathcopy-agent

## Dependencies (2)

- [ws](https://npm.io/package/ws.md) ^8.18.3
- [qrcode-terminal](https://npm.io/package/qrcode-terminal.md) ^0.12.0

## Recent versions

- 0.5.0 (latest) — 2026-06-30
- 0.4.0 — 2026-06-30
- 0.3.0 — 2026-06-30
- 0.2.0 — 2026-06-30
- 0.1.0 — 2026-06-29

## README

# PathCopy Agent

Pair this computer or server with the Remote Path Copy iPhone app.

## Quick Start

```bash
npm install -g pathcopy-agent
pathcopy init "MacBook Pro"
pathcopy add ~/Documents/project project
pathcopy pair --qr
pathcopy service install
pathcopy service start
```

Open the iPhone app, tap add device, then scan the QR code or enter the 6-digit code.

## Commands

```bash
pathcopy init [device name]
pathcopy add <directory> [display name]
pathcopy add
pathcopy choose [directory]
pathcopy roots
pathcopy remove <root id or name>
pathcopy pair [--qr]
pathcopy start
pathcopy service <install|start|stop|status>
```

## Notes

- Requires Node.js 20 or newer.
- `service` supports macOS launchd and Linux systemd.
- Windows can still run `pathcopy start` manually; service install is not implemented yet.

For local relay testing:

```bash
PATHCOPY_RELAY_URL=ws://127.0.0.1:4173/api/agent/ws pathcopy pair --qr
```

`pathcopy add` and `pathcopy choose <directory>` support multiple selections:

```text
Select directory numbers (example: 1,3 or 1-3): 1,3
```

---
_Source: https://npm.io/package/pathcopy-agent · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
