Skip to content

Installation and configuration

adamant-al edited this page Nov 23, 2018 · 27 revisions

Installation of Adamant-console

Using npm directly

Command below will install adamant-console globally:

npm install -g adamant-console

After you could use it as in command line as adm:

adm 

(Will enter console utility and wait for your commands. Press Ctrl+C twice to exit Adamant-console.)

adm account new

(Will create new ADAMANT account and return to bash.

build from source

If you want to build it from source, clone this repository and install dependencies

git clone https://github.com/Adamant-im/adamant-console/ #fetching code from github
npm install #installing dependencies
chmod a+x index.js #making executable
link index.js /usr/local/bin/adm #create symlink

Then you can use it as adm, alternatively you can run it without making executable

node index.js

Clone this wiki locally