skynet-cli is a lightweight CLI to interact with Skynet.
Skynet is the decentralized CDN and file sharing platform for devs and the storage foundation for a Free Internet!
The following methods will install a binary called skynet
to your machine.
If you have Go installed you can run:
go install github.com/SkynetLabs/skynet-cli/v2/cmd/skynet@latest
If you have Homebrew installed you can run:
brew tap SkynetLabs/skynet-cli https://github.com/SkynetLabs/skynet-cli.git
brew install skynet-cli
Alternatively, you can pull the appropriate binary from our Releases page.
You can build the source code yourself with:
make release
skynet-cli is designed to be simple and easy to use, just like Skynet.
Uploading a file or directory is a simple as using the following command:
skynet upload [source path]
This will return a skylink
, which then in turn can be used to download the
file with the following command:
skynet download [skylink] [destination]
For comprehensive documentation complete with examples, please see the Skynet SDK docs.
To learn about additional commands you can always use the -h
flag or check out
the documentation.