All Projects → balena-os → Resin Device Toolbox

balena-os / Resin Device Toolbox

Licence: apache-2.0
[DEPRECATED] The official Resin Device Toolbox CLI for resinOS

Programming Languages

coffeescript
4710 projects

Resin Device Toolbox - rdt

The official resinOS command line tool.

Resin Device Toolbox or rdt is a collection of utilities that can help you develop resinOS based application containers.

Preview

Click below to see a preview of rdt push

asciicast

Dependencies

  • NodeJS >= 4
    • ssh: Any recent version of the OpenSSH ssh client (required by rdt ssh and rdt push)
    • rsync: >= 2.6.9 (required by rdt push)

Windows Support

rdt push and rdt ssh have not been thoroughly tested on the standard Windows cmd.exe shell. We recommend using bash (or a similar) shell, like Bash for Windows 10 or Git for Windows.

If you still want to use cmd.exe you will have to use a package manager like MinGW or chocolatey. For MinGW the steps are:

  1. Install MinGW.
  2. Install the msys-rsync and msys-openssh packages.
  3. Add MinGW to the %PATH% if this hasn't been done by the installer already. The location where the binaries are places is usually C:\MinGW\msys\1.0\bin, but it can vary if you selected a different location in the installer.

Install

You can install Resin Device Toolbox by running:

$ npm install -g resin-device-toolbox

Getting Started

If you want a quick introduction on development with resinOS you can also check our tutorial.

Usage

You can get a list of available commands with rdt -h:

Usage: rdt [COMMAND] [OPTIONS]

If you need help, or just want to say hi, don't hesitate in reaching out at:

  GitHub: https://github.com/resin-os/resin-device-toolbox/issues/new
  Gitter: https://gitter.im/resin-io/chat

Primary commands:

    ssh [deviceIp]                      Get a shell into a resinOS device
    push [deviceIp]                     Push your changes to a container on local resinOS device
    logs [deviceIp]                     Get or attach to logs of a running container on a resinOS device
    scan                                Scan for resinOS devices in your local network
    configure <target>                  (Re)configure a resinOS drive or image
    flash <image>                       Flash an image to a drive
    version                             Output the version number
    help [command...]                   Show help

Global Options:

    --help, -h

Support

If you're having any problem, please raise an issue on GitHub and the Resin.io team will be happy to help. You can also get in touch with us in the resin.io forums.

License

Resin Device Toolbox is free software, and may be redistributed under the terms specified in the license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].