# How do I upload from the command line?

[Apps & tools](https://storage.to/help/apps) · Updated 2026-10-01 · Applies to macOS · Linux · Windows

**Short answer**: Install the open-source CLI with Homebrew, then run storageto upload followed by your file. It prints the link, size and expiry, and supports globs, resumable uploads for big files, and JSON output for scripts.

```
brew install storageto/tap/storageto
storageto upload myfile.zip
```

- [CLI documentation](https://storage.to/docs/cli)
- [GitHub ↗](https://github.com/storageto/cli)

## Related

- [Is there an API?](https://storage.to/help/api)
- [How do I share a screenshot instantly?](https://storage.to/help/screenshot)
- [Is there a desktop app?](https://storage.to/help/desktop-app)
