Merkleshare CLI
Upload, manage, and share files directly from your terminal.
Quick Install
macOS / Linux
curl -fsSL https://www.merkleshare.com/install.sh | bashManual Download
Getting Started
Authenticate
ms loginOpens your browser to sign in and link the CLI to your account.
Create a collection with files
ms create my-project ./document.pdf ./image.pngAdd --public to make it visible on your profile.
Share
ms share my-projectGenerates a shareable link to your collection.
Commands
ms loginAuthenticate with your Merkleshare account. Opens your browser to complete sign-in.
ms logoutSign out and clear stored credentials.
ms whoamiDisplay your current authentication status and profile.
ms lsList your collections.
ms ls @<handle>List another user's public collections.
ms ls <collection>List files in a specific collection.
ms create <name> [files...]Create a new collection, optionally with files. Use --public or --unlisted to set visibility.
ms add <collection> <files...>Add files to an existing collection.
ms download <collection>Download all files from a collection. Use -o to specify output directory.
ms share <collection>Get a shareable link for a collection.
ms sia <collection> <file>Get a portable Sia URL for a file that works with other Sia-compatible apps.
ms search <query>Search collections and files.
ms feedView the public feed of recent collections.
ms updateCheck for updates and install the latest version.
Need help? Read the full documentation