npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@kyso-io/kyso-cli

v1.2.0

Published

Kyso Client

Downloads

3

Readme

For more detailed documentation please visit docs.kyso.io

Installation

NPM and YARN

The Kyso CLI could be installed as a NPM or YARN global package easily, just launching the next commands

npm install -g @kyso-io/kyso-cli
​```

or

```​
yarn global add @kyso-io/kyso-cli

Depending on your local configuration, maybe you will need to use sudo or launch windows' terminal with administrative rights

Once installed, check that it's available executing the next command

kyso-cli
Kyso Client
​
VERSION
  @kyso-io/kyso-cli/1.0.0 linux-x64 node-v16.13.2
​
USAGE
  $ kyso-cli [COMMAND]
​
TOPICS
  plugins  List installed plugins.
​
COMMANDS
  help                      Display help for kyso-cli.
  import-github-repository  Import Github repository to Kyso
  import-repository         Import repository to Kyso
  kyso-command
  login                     Make login request to the server
  open                      Open a report in the browser
  plugins                   List installed plugins.
  pull                      Pull repository from Kyso
  push                      Upload local repository to Kyso

NPX

Since npm version 5.2.0 you can use npx instead of npm global install. The difference between npm and npx is that npx don't install anything globally in your computer, just download the dependency, execute it and then delete it, keeping your local node_modules smaller. To use NPX just execute the next command

npx @kyso-io/kyso-cli
Need to install the following packages:
  @kyso-io/kyso-cli
Ok to proceed? (y) y
Kyso Client
​
VERSION
  @kyso-io/kyso-cli/0.0.7 darwin-x64 node-v16.13.2
​
USAGE
  $ kyso-cli [COMMAND]
​
TOPICS
  hello    Say hello to the world and others
  plugins  List installed plugins.
​
COMMANDS
  hello                     Say hello
  help                      Display help for kyso-cli.
  import-github-repository  Import Github repository to Kyso
  kyso-command
  login                     Make login request to the server
  plugins                   List installed plugins.
  pull                      Pull repository from Kyso
  push                      Upload local repository to Kyso

Configuration

Kyso can run in SaaS mode, at , but can run as well as On Premise with his own domain.

For that reason, Kyso CLI can point to multiple instances of Kyso, and before start to use Kyso CLI we should define to which instance we want to point.

Linux and MacOS

Using zsh terminal

Open a ZSH terminal and edit the file ~/.zshrc to add the following environment variable

export KYSO_API=https://kyso.io/api/v1

Check that it's effectively added executing:

cat ~/.zshrc
export KYSO_API=https://kyso.io/api/v1

Close your terminal and open it again (as your current instance of the terminal is not updated until you restart it), and then execute the following command to check that the result is the same as follows

echo $KYSO_API
https://kyso.io/api/v1

Now all the operations of Kyso CLI will affect to the defined instance

Remember that you can change the value of NEXT_PUBLIC_API_URL to your On Premise instance of Kyso

Using bash terminal

Repeat the same steps than for zsh terminal, but editing the file ~/.bashrc instead