Installation
How to install the kyso-cli on your machine
There are several ways to use Kyso CLI in your machine, depending on your operating system, your needs and your preferences.

Docker

To avoid installing anything on your local machine, you can use Kyso CLI directly within a docker image.
First, install the docker image using the following command:
1
docker pull kyso-io/kyso-cli:latest
Copied!
Check that the image is effectively downloaded on your machine:
1
docker images
2
REPOSITORY TAG IMAGE ID CREATED SIZE
3
kyso-io/kyso-cli latest 1f2c992d2837 6 days ago 286MB
Copied!
To call the Kyso CLI, execute the following command:
1
docker run kyso-io/kyso-cli kyso-cli
2
Kyso Client
3
4
VERSION
5
@kyso-io/kyso-cli/1.1.2 darwin-arm64 node-v16.14.2
6
7
USAGE
8
$ kyso-cli [COMMAND]
9
10
TOPICS
11
plugins List installed plugins.
12
13
COMMANDS
14
help Display help for kyso-cli.
15
import-repository Import repository to Kyso
16
kyso-command
17
login Login into Kyso
18
open Open a report in the browser
19
plugins List installed plugins.
20
pull Pull repository from Kyso
21
push Upload local repository to Kyso
Copied!

NPM & YARN

The Kyso CLI can be installed as a NPM or YARN global package easily, by just launching one of the commands below:
1
npm install -g @kyso-io/kyso-cli
2
3
or
4
5
yarn global add @kyso-io/kyso-cli
Copied!
Depending on your local configuration, you might need to use sudo or launch the windows terminal with administrative rights
Once installed, check that it's available executing this command:
1
kyso-cli
2
Kyso Client
3
4
VERSION
5
@kyso-io/kyso-cli/1.1.2 darwin-arm64 node-v16.14.2
6
7
USAGE
8
$ kyso-cli [COMMAND]
9
10
TOPICS
11
plugins List installed plugins.
12
13
COMMANDS
14
help Display help for kyso-cli.
15
import-repository Import repository to Kyso
16
kyso-command
17
login Login into Kyso
18
open Open a report in the browser
19
plugins List installed plugins.
20
pull Pull repository from Kyso
21
push Upload local repository to Kyso
Copied!

NPX

Since npm version 5.2.0 you can use npx instead of an npm global install. The difference between npm and npx is that npx doesn't install anything globally on your computer, but just downloads the dependency, executes it and then deletes it, keeping your local node_modules smaller.
To use NPX just execute this command:
1
npx @kyso-io/kyso-cli
2
Need to install the following packages:
3
@kyso-io/kyso-cli
4
Ok to proceed? (y) y
5
Kyso Client
6
7
VERSION
8
@kyso-io/kyso-cli/1.1.2 darwin-arm64 node-v16.14.2
9
10
USAGE
11
$ kyso-cli [COMMAND]
12
13
TOPICS
14
plugins List installed plugins.
15
16
COMMANDS
17
help Display help for kyso-cli.
18
import-repository Import repository to Kyso
19
kyso-command
20
login Login into Kyso
21
open Open a report in the browser
22
plugins List installed plugins.
23
pull Pull repository from Kyso
24
push Upload local repository to Kyso
Copied!

Homebrew

COMING SOON!!! :)

APT

COMING SOON!!! :)