Socket
Socket
Sign inDemoInstall

greenkeeper

Package Overview
Dependencies
Maintainers
1
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

greenkeeper

Your software, up to date, all the time


Version published
Weekly downloads
15
decreased by-80.52%
Maintainers
1
Weekly downloads
 
Created
Source

Getting Started with Greenkeeper

To install Greenkeeper, type:

npm install -g greenkeeper

Then log in:

greenkeeper login

Your browser will open a new window or tab and redirect you to GitHub’s Application Authentication screen. There is a big green button [Authorize application] at the bottom. When you click it, Greenkeeper gets the access to GitHub it needs to do its job, but no more. When all goes well, your browser will say “Check your Terminal”, and when you switch back here, the login will be done and Greenkeeper will have started to sync your GitHub repository information.

Congratulations, you made it past the most complicated step!

Next, you enable a repository of yours. To do this, navigate to a local copy of your repository (e.g. cd ~/code/myrepo). Then:

greenkeeper enable

And that’s it already! :)

From here on out, Greenkeeper will do its job automatically. If your dependencies are already outdated the first thing you are going to notice is a Pull Request where we update all your dependencies in your repository’s package.json to their respective latest versions. Then, whenever one of your dependencies is updated on npm, you will receive a Pull Request to update your repository accordingly.

If you’d like to talk to a human or want to report an issue, type:

greenkeeper support

Usage

Have a question? Check the FAQ at https://greenkeeper.io/faq.html, or talk to a human: Run greenkeeper support :)

Usage: greenkeeper [--slug=user/repository] <command>

command
startlearn how to get started
loginopens GitHub Authentication
logout
enableenable a repository
disabledisable a repository
lista list of all enabled repositories
upgradeupgrade to a different plan
whoamishow who you are logged in as and what organizations you can access
infoshow the state of your repository
supportopens support in your browser
syncsync all your GitHub repositories
npm-accessgrant access to your private npm packages
npm-verifycheck access to private npm packages
postpublishadd the postpublish hook to your scoped module
faqopen FAQ website
configget, set and delete config
--helpthis screen
--versioncurrent version of the CLI

enable, disable and info take an optional parameter --slug=user/repository where user is the username or organization on GitHub and repository is the repository name. If you omit the slug, greenkeeper will use the current directory’s git remote "origin"

sync happens automatically when you log in. Also enable performs a sync automatically in case the repository you try to enable is not found.

Repository Options

There are some things you can customize for your repository. You do so by adding a "greenkeeper" field to your package.json file.

The following options are available:

optiondescriptiondefault
ignorearray of ignored dependencies[]
branchPrefixprefix used for branches'greenkeeper-'
labellabel to use for pull requests'greenkeeper'

Getting Started

Type greenkeeper start to learn how to get started.

protip: you can type gk instead of greenkeeper and abbreviate every command, as long as it’s unambiguous

Enabling a repository

Most of the time enabling a repository is straight forward – just execute greenkeeper enable. In some cases, especially when there are private repositories or permissions involved, it can fail. Fear not. This guide will walk you through all the required steps. If you can’t get your repository enabled after these steps please contact us. greenkeeper support

  1. If you want to enable a private repository for the first time make sure to grant Greenkeeper the necessary rights by running greenkeeper login --force --private.
  2. With GitHub’s new permission model you need to grant Greenkeeper access per organization. You can do this with greenkeeper access.
  3. Keep in mind that you need admin access to a repository to enable it. If you don’t have access please ask someone on your team for help.

The CLI

Build Status Dependency Status devDependency Status js-standard-style semantic-release

NPM

🌴

FAQs

Package last updated on 13 Jan 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc