Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including mist-cli with all npm packages installed. Try it out:

var mistCli = require("mist-cli")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

mist-cli v0.4.6

Mist Cli tool based on mist-api

Mist Cli

This package is dependent on the mist-api package, which currently is working with Linux x64, OSX x64 and Raspberry Pi, on nodejs v6, v8, v10. To get it working you also need to run a Wish Core on the same host.

Prerequisites

If you ended up here by accident, you might not get this to work.

  1. Download and install node.js v.6.x. (tested on v6.9.2), v8.x or v10.x.

    The node version manager "nvm" works well for this purpose: https://github.com/nvm-sh/nvm

  2. Download and run wish-core (choose the desired target platform https://www.controlthings.fi/dev/).

wget https://www.controlthings.fi/dist/wish-core-v0.10.0-beta-5-x64-linux
chmod +x ./wish-core-v0.10.0-beta-5-x64-linux
./wish-core-v0.10.0-beta-5-x64-linux
  1. Get command line tool wish-cli
npm install -g wish-cli
wish-cli
  1. Create an identity with wish-cli
identity.create('John Andersson')

Install and run

node --version #should return 6.x, 8.x or 10.x depending on what is your active node.js
npm install -g mist-cli
mist-cli

Develop

git clone https://github.com/ControlThings/mist-cli-nodejs.git
cd mist-cli-nodejs
npm install
node --version #should return 6.x
node run

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free