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

Latest commit

 

History

History
70 lines (44 loc) · 2.2 KB

README.md

File metadata and controls

70 lines (44 loc) · 2.2 KB

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.