Git Product home page Git Product logo

kosmos's Introduction

Kosmos

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

kosmos install mechjeb

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

Installation

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

Kosmos 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

Kosmos 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 Kosmos itself

Just run:

gem install kosmos

And it'll be ready to go.

Usage

First run

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

kosmos 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: kosmos init "~/Library/Application Support/Steam/SteamApps/common/Kerbal Space Program/"
  • on Windows: kosmos init "C:\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program"
  • on Linux: kosmos init "~/Steam/SteamApps/common/Kerbal Space Program/"

Then, Kosmos will be ready to use.

Mod management

Install any command by running:

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

Uninstall any mod by running:

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

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

kosmos install mod-a mod-b mod-c

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

kosmos list

A complete example

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

kosmos 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

kosmos's People

Contributors

icewind1991 avatar shrx avatar ucarion avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.