The official balena CLI tool.
Go to file
Juan Cruz Viotti 445e37ccaf Call os initialize as an elevated process
Currently, the fact that `os initialize` requires elevated permissions
forced us to require calling commands that reuse it, such as `device
init` and `quickstart` with administrator permissions as well.

This ended up causing issues like saving images in the cache that belong
to root, or initializing git repositories that requires `sudo` to
commit.

The solution is to call `os initialize` as a child process preppending
`sudo` within `device init`.

Fixes: https://github.com/resin-io/resin-cli/issues/109
2015-10-01 13:07:53 -04:00
bin Remove unused resin-write bin script 2015-08-19 11:30:48 -04:00
build Call os initialize as an elevated process 2015-10-01 13:07:53 -04:00
doc Make os initialize take a device type instead of a uuid 2015-09-30 14:31:23 -04:00
extras/capitanodoc Regenerate docs 2015-07-07 18:01:25 -04:00
lib Call os initialize as an elevated process 2015-10-01 13:07:53 -04:00
.editorconfig Add editorconfig 2014-10-31 09:49:57 -04:00
.gitignore Add resinrc.yml to gitignore 2015-09-08 09:07:48 +03:00
.hound.yml Add .hound.yml 2015-04-06 10:08:49 -04:00
.travis.yml Stop supporting iojs 2015-08-06 12:12:44 -04:00
appveyor.yml Add Appveyor cache support 2015-08-28 08:22:26 -04:00
capitanodoc.json Implement os download command 2015-09-29 13:03:14 -04:00
coffeelint.json Add Coffeelint support 2014-10-31 09:48:53 -04:00
gulpfile.coffee Remove examples commands 2015-08-04 10:00:09 -04:00
LICENSE Add LICENSE file 2015-03-05 15:43:39 -04:00
package.json Make os initialize take a device type instead of a uuid 2015-09-30 14:31:23 -04:00
README.md Move Cygwin caveat from README to TROUBLESHOOTING 2015-09-21 08:51:54 -04:00
TROUBLESHOOTING.md Document anti virus and EBUSY errors on Windows 2015-09-21 09:27:18 -04:00

Resin CLI

npm version dependencies Build Status Build status

The official Resin CLI tool.

Requisites

Getting Started

Installing

This might require elevated privileges in some environments.

$ npm install -g resin-cli

Login

$ resin login

List available commands

$ resin help

Run the quickstart wizard

Run as root on UNIX based systems, and in an administrator command line prompt in Windows.

$ resin quickstart

Support

If you're having any problem, check our troubleshooting guide and if your problem is not addressed there, please raise an issue on GitHub and the Resin.io team will be happy to help.

License

The project is licensed under the MIT license.