mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-03-23 04:25:29 +00:00
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
Resin CLI
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.
Languages
TypeScript
97.9%
JavaScript
1.5%
Shell
0.4%
EJS
0.1%