Skip to content
This repository has been archived by the owner on Apr 16, 2021. It is now read-only.

NebulousLabs/skynet-cli

Repository files navigation

skynet-cli

⚠️ This repo has been archived and moved under the new SkynetLabs repo here

Go Build Status Contributors License

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!

Installing

The following methods will install a binary called skynet to your machine.

Using Go Get

If you have Go installed you can run:

go get -u github.com/NebulousLabs/skynet-cli/...

Homebrew (MacOS Users)

If you have Homebrew installed you can run:

brew tap NebulousLabs/skynet-cli https://github.com/NebulousLabs/skynet-cli.git
brew install skynet-cli

Downloading Release Binary

Alternatively, you can pull the appropriate binary from our Releases page.

Building From Source

You can build the source code yourself with:

make release

Usage

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]

Documentation

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.