2015-09-21 11:56:24 +00:00
Resin CLI
=========
2014-12-09 19:20:22 +00:00
2015-03-03 18:32:13 +00:00
[![npm version ](https://badge.fury.io/js/resin-cli.svg )](http://badge.fury.io/js/resin-cli)
2015-03-02 16:34:15 +00:00
[![dependencies ](https://david-dm.org/resin-io/resin-cli.png )](https://david-dm.org/resin-io/resin-cli.png)
[![Build Status ](https://travis-ci.org/resin-io/resin-cli.svg?branch=master )](https://travis-ci.org/resin-io/resin-cli)
2015-05-21 14:52:37 +00:00
[![Build status ](https://ci.appveyor.com/api/projects/status/45i7d0m0patxj420?svg=true )](https://ci.appveyor.com/project/jviotti/resin-cli)
2015-03-02 16:34:15 +00:00
2016-01-11 15:26:34 +00:00
Join our online chat at [![Gitter chat ](https://badges.gitter.im/resin-io/chat.png )](https://gitter.im/resin-io/chat)
2015-03-02 16:40:19 +00:00
The official Resin CLI tool.
2014-12-09 19:20:22 +00:00
2015-09-21 11:56:24 +00:00
Requisites
----------
2014-12-09 19:20:22 +00:00
2015-09-21 11:56:24 +00:00
- [NodeJS ](https://nodejs.org ) (at least v0.10)
- [Git ](https://git-scm.com )
2014-12-09 19:20:22 +00:00
2015-09-21 11:56:24 +00:00
Getting Started
---------------
2014-12-09 19:20:22 +00:00
2015-09-21 11:56:24 +00:00
### Installing
2014-12-09 19:20:22 +00:00
2015-09-21 11:56:24 +00:00
This might require elevated privileges in some environments.
2014-12-09 19:20:22 +00:00
```sh
2015-12-04 12:31:39 +00:00
$ npm install --global --production resin-cli
2014-12-09 19:20:22 +00:00
```
2015-09-21 11:56:24 +00:00
### Login
2014-12-09 19:20:22 +00:00
```sh
2015-09-21 11:56:24 +00:00
$ resin login
2014-12-09 19:20:22 +00:00
```
2015-09-21 11:56:24 +00:00
### List available commands
2014-12-10 18:12:12 +00:00
```sh
2015-09-21 11:56:24 +00:00
$ resin help
2014-12-10 18:12:12 +00:00
```
2015-09-21 11:56:24 +00:00
### Run the quickstart wizard
2014-12-09 19:20:22 +00:00
2015-09-21 11:56:24 +00:00
Run as `root` on UNIX based systems, and in an administrator command line prompt in Windows.
2014-12-09 19:20:22 +00:00
```sh
2015-09-21 11:56:24 +00:00
$ resin quickstart
2014-12-09 19:20:22 +00:00
```
2016-01-01 02:00:39 +00:00
Documentation
-------------
### How to point the Resin CLI to staging?
The easiest way is to set the `RESINRC_RESIN_URL=resinstaging.io` environment variable.
Alternatively, you can edit your `$HOME/.resinrc.yml` or `%UserProfile%\_resinrc.yml` and set `resinUrl: resinstaging.io` to persist this setting.
2015-09-21 11:56:24 +00:00
Support
-------
2015-09-21 12:32:11 +00:00
If you're having any problem, check our [troubleshooting guide ](https://github.com/resin-io/resin-cli/blob/master/TROUBLESHOOTING.md ) and if your problem is not addressed there, please [raise an issue ](https://github.com/resin-io/resin-cli/issues/new ) on GitHub and the Resin.io team will be happy to help.
2015-09-21 11:56:24 +00:00
License
-------
2016-01-04 03:58:51 +00:00
The project is licensed under the Apache 2.0 license.