Agnitio Command-line tool
Last updated 3 years ago by agnitio-as .
Copyright 2015 Agnitio · Original npm · Tarball · package.json
$ cnpm install agnitio-cli 
SYNC missed versions from official npm registry.

Agnitio Command Line Tool

The Agnitio Command Line Tool is a utility for developers to make it easier to work with Agnitio Accelerator presentations.

Installing this tool will allow a user to type agnitio [command] from command line.

It is built using NodeJS and will be published to the official NPM registry.



In order for the tool to build properly you should have Xcode installed. Once Xcode is installed, make sure the Xcode Command Line Tool is enabled.


Python 2.7 and Visual Studio are required for successful installation. The Python environment variable need to be set to where it was installed, e.g.

set PYTHON=C:\Python27\python.exe (environment variable can also be set permanently)

Visual Studio Community is available for free if needed. If using Visual Studio 2015 (including VS Community) then you need to first create a C++ project in that tool before installing. In the process you should Install Visual C++ 2015 Tools For Windows Desktop.

Lite Version

If above prerequisites are difficult to install then try the lite version instead.


npm install agnitio-cli -g

Depending on your NodeJS install you might have to use sudo in front of above command:

sudo npm install agnitio-cli -g


Use --help after any command to see description and options for the command.


Will build and run the current presentation in builder mode. A UI will allow presentation to be updated from browser. Default port opened is 8080 but it can be changed using the --port [port number] option.

Example: agnitio builder

NOTE: The Builder version supplied in this tool is the deveopment version and might be sligthly different from the official Builder release accessed through Agnitio Mobilizer application.


Will build and run the current presentation in develop mode. Presentation will be reloaded when source code is updated. Default port opened is 3000 but it can be changed using the --port [port number] option.

Example: agnitio run


Will build the current presentation (slide and module files)

Example: agnitio build


Will update Accelerator to the latest release.

Example: agnitio upgrade

slide [slide_name]

Will create a new slide. A prompt will be opened guiding you through available options. Slide names with spaces have to be encased in quotation marks (").

Example: agnitio slide "New slide"

module [module_id]

Will create a new module. A prompt will be opened guiding you through available options. Module ids should not have spaces in them. It's recommended to namespace the module.

Example: agnitio module ag-demo-module


If you get a Error: listen EADDRINUSE message when running a webserver you can try the following (on MAC/Linux):

lsof -i :3000 | grep LISTEN (replace port 3000 if you used something else)

You should get something looking like this:

node 7440 yourUser 11u IPv6 0x81c7fdf947b4b000 0t0 TCP *:hbci (LISTEN)

Then kill the process:

kill -9 7440 (replace the PID 7440 with the result you got from information above)

If the above doesn't work, or is too daunting then a computer restart should also take care of it. Running the server on a different port with --port 3001 should also work until you restart.

Current Tags

  • 1.2.3                                ...           latest (3 years ago)

22 Versions

  • 1.2.3                                ...           3 years ago
  • 1.2.2                                ...           3 years ago
  • 1.2.1                                ...           3 years ago
  • 1.2.0                                ...           4 years ago
  • 1.1.7                                ...           4 years ago
  • 1.1.6                                ...           4 years ago
  • 1.1.5                                ...           4 years ago
  • 1.1.3                                ...           5 years ago
  • 1.1.2                                ...           5 years ago
  • 1.1.1                                ...           5 years ago
  • 1.1.0                                ...           5 years ago
  • 1.0.0                                ...           5 years ago
  • 0.3.2                                ...           5 years ago
  • 0.3.1                                ...           5 years ago
  • 0.3.0                                ...           5 years ago
  • 0.2.0                                ...           5 years ago
  • 0.1.5                                ...           5 years ago
  • 0.1.4                                ...           5 years ago
  • 0.1.3                                ...           5 years ago
  • 0.1.2                                ...           5 years ago
  • 0.1.1                                ...           5 years ago
  • 0.1.0                                ...           5 years ago
Maintainers (1)
Today 0
This Week 1
This Month 1
Last Day 0
Last Week 0
Last Month 1
Dependencies (45)
Dev Dependencies (0)
Dependents (0)

Copyright 2014 - 2016 © |