Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

kmc

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kmc

bundlerRubyGems.org
Version
0.0.6
Version published
Maintainers
1
Created
Source

KMC

A simple package manager for Kerbal Space Program. Install any mod by simply saying kmc install name-of-mod. For example, install Mechjeb by issuing the command:

kmc install mechjeb

Note: KMC is still in active development, and is not meant for serious use unless you're brave or stupid.

Installation

Note: KMC is indeed not super easy to install if you're not used to installing things by hand. When KMC is ready for "production" use, one-click installers will be added.

KMC has three dependencies, all of which are currently expected to be on your PATH. They are:

  • Ruby version 2.0+,
  • Git, and
  • PhantomJS

Installing Ruby

KMC has been tested on Ruby 2.0.0, and it is recommended that you use Ruby 2.0.0 or greater. Check your version of Ruby using:

ruby -v

If you need to update Ruby, use one of the following tools:

  • Mac: RVM is the recommended tool for the job, but not everyone is comfortable with it. If you prefer, you may use Homebrew and install Ruby 2.0 with: brew install ruby20.
  • Windows: Install Ruby 2.0+ with Ruby Installer.
  • Linux: Use RVM.

Verify that you're running Ruby 2.0+ by running:

ruby -v

Installing Git

  • Mac: Use the Mac Git installer, or use Homebrew. Remember to check any box asking to add Git to your path.
  • Windows: Install Git using this installer. Remember to check any box asking to add Git to your path.
  • Linux: Run the command:
    • yum install git-core on Fedora, or
    • apt-get install git on Debian / Ubuntu.

Verify that Git is installed properly by running:

git --version

Installing PhantomJS

Install PhantomJS here. You will need to add PhantomJS to your path manually. Verify that PhantomJS is installed properly by running:

phantomjs --version

Installing KMC itself

Just run:

gem install kmc

And it'll be ready to go.

Usage

First run

First, you have to point KMC to your Kerbal Space Program installation directory:

kmc init "your-ksp-path"

your-ksp-path varies with the operating system and game installation. For a Steam-installed game it should be:

  • on OS X: kmc init "~/Library/Application Support/Steam/SteamApps/common/Kerbal Space Program/"
  • on Windows: kmc init "C:\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program"
  • on Linux: kmc init "~/Steam/SteamApps/common/Kerbal Space Program/"

Then, KMC will be ready to use.

Mod management

Install any command by running:

kmc install name-of-the-mod-goes-here

Uninstall any mod by running:

kmc uninstall name-of-the-mod-goes-here

You can install multiple mods by separating the names by spaces:

kmc install mod-a mod-b mod-c

You can ask KMC what mods it's installed by running:

kmc list

A complete example

Almost all of the mods Scott Manley uses in Interstellar Quest are available through KMC. You can install them all by running:

kmc install active-texture-management b9 kerbal-alarm-clock kw-rocketry ksp-interstellar ferram deadly-reentry kethane infernal-robotics distant-object-enhancement better-atmospheres remote-tech-2 tac-life-support enhanced-navball kerbal-joint-reinforcement docking-port-alignment-indicator safe-chute kerbal-attachment-system real-chute tac-fuel-balancer

FAQs

Package last updated on 18 Jul 2014

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