Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including change_oc with all npm packages installed. Try it out:

var changeOc = require("change_oc")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

change_oc v0.0.31

download and change oc version


License: GPL v3 Build Status npm version Known Vulnerabilities

Some command line tooling to download, extract and set the version of oc on the local system.

Downloads the compressed oc binary to this module and extracts the various oc versions to the following locations

       |_ 3.7
       |_ 3.9
       |_ 3.10
       |_ 3.11
       |_ 4.1
       |_ 4.2
       |_ 4.3
       |_ 4.4
       |_ 4.5

Sets the oc binary to execute by symlinking



  • node 10
  • npm
  • os linux


Installation from npm

npm install -g change_oc

Installation from source clone and install the repo

git clone
cd change_oc
npm install


From npm run the module


From source run the npm start script and follow the onscrean instructions

npm start


Change binary

Release Steps

  • Make changes
  • If nessary update
  • Update
  • Squash commits to single commit
  • Commit the changes
  • Bump the version in the package.json
  • Remove package-lock.json and run npm install
  • Second commit for version bump
  • Merge changes from the PR
  • Pull upstream changes to master
  • Publish the changes npm publish


RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free