UNPKG

2.34 kBMarkdownView Raw
1# `alwaysai` [![Build Status](https://travis-ci.com/alwaysai/cli.svg?branch=master)](https://travis-ci.com/alwaysai/cli)
2The [alwaysAI](https://alwaysai.co) command-line interface (CLI)
3
4## Prerequisites
5### Node.js
6
7Node.js is an open-source cross-platform JavaScript run-time environment. To check if your development computer has Node.js installed already, open a terminal and enter
8
9```
10$ node --version
11```
12
13This should print a version string like v12.5.0. The alwaysAI CLI requires Node.js v8.0.0 or greater. Node.js ships with npm, a package manager that we’ll use to install the alwaysAI CLI.
14
15To install Node.js, visit [https://nodejs.org/](https://nodejs.org/) in a browser and follow the instructions for your operating system.
16
17### OpenSSH
18
19OpenSSH is a suite of secure networking utilities based on the Secure Shell (SSH) protocol. The alwaysAI CLI relies on OpenSSH for connecting to your edge device and related tasks like key generation. To check if your computer has OpenSSH installed already, open a terminal and enter
20
21```
22$ ssh -V
23```
24
25This should print a version string like OpenSSH_7.9p1, LibreSSL 2.7.3. MacOS and most Linux distributions already have OpenSSH installed out of the box, and as of late 2018, Windows 10 does too! Check out this article on the Microsoft docs site for more information on installing OpenSSH on Windows.
26
27## Install the CLI
28
29To install the alwaysAI CLI, in a terminal on your development machine enter
30
31```
32$ npm install --global alwaysai
33```
34
35If you encounter an error “EACCES: permission denied”, you’ll need to run that command with administrative privileges as
36
37```
38$ sudo npm install --global alwaysai
39```
40
41Enter your user’s operating system password when prompted.
42
43To verify that the alwaysAI CLI is fully installed and accessible run
44
45```
46$ alwaysai -v
47```
48
49This should print a version string like 0.1.2.
50
51## More information
52You can read the full documentation for the alwaysAI platform at [https://dashboard.alwaysai.co/docs/introduction/welcome.html](https://dashboard.alwaysai.co/docs/introduction/welcome.html). If you encounter any bugs or have any questions or feature requests, please don't hesitate to file an issue or submit a pull request on this project's repository on GitHub.
53
54## License
55MIT © [alwaysAI, Inc.](https://alwaysai.co)