title | author | categories | template | ||
---|---|---|---|---|---|
Getting started with the Koding Package Manager |
Team Koding |
|
page.toffee |
Koding Package Manager (kpm) is a command line tool that we have set up to make it easy for you to install (and soon remove) your favorite packages like WordPress, Mongodb, Laravel, etc. KPM takes care of measuring disk space requirements, analyzing dependencies and installing all required packages to bring you a running system. It's the easiest way to get up and running with your favorite technology or package. KPM also replaces the older generation KDApps (most of which were installers).
This guide will cover the basics of the KPM and how to get started with it.
KPM runs in the Terminal of your Koding account. In order to use KPM you first need to install it. KPM comes pre-installed on Koding VMs and you can easily verify that it is installed by typing in kpm
in Terminal. If installed, you should see:
Usage:
kpm install <name>
kpm list
kpm search <name>
kpm uninstall <name>
kpm -h | --help
kpm --version
If you get an error, you can easily install KPM by using the following command in Terminal:
curl -sSL learn.koding.com/kpm.sh | sh
After the process is complete you should have access to the kpm
command in your Terminal.
The basic syntax for kpm
is as follows. You have access to the following commands:
kpm install <name>
kpm list
kpm search <name>
kpm uninstall <name>
kpm update
kpm -h | --help
kpm --version
- The first command
kpm install
will install a program or a framework from the list of available programs or frameworks. - The second command
kpm list
will list all available installers that you can currently install on your VM. We keep adding to the list and if you wish, you can contribute as well! - The third command
kpm -h
orkpm --help
will show the help for this command. The help command will showcase the syntax and a short version of this guide. - The last command
kpm --version
will showcase the current version of your local Koding Package Manager.
You also have available an argument for the kpm install
command.
In order to install a framework or program you need to provide the above command with an argument that represents the name of the program / framework that you want to install. For eg.
kpm install <name>
Bellow is a list of the current available packages that can be installed using the kpm
command.
- Codeigniter
- Composer
- Django
- Dropbox
- FTP
- GruntJS
- Laravel
- MEAN
- MEAN.io stack
- Memcached
- MeteorJS
- MongoDB
- mySQL
- nginx
- noVNC
- phpMyAdmin
- PIP
- Rails
- Redis
- Apache Tomcat
- Ungit
- VNC
- WordPress
The above list will be updated periodically to include more packages, that you can use on your VM.
KPM is fully extensible so if you want to contribute, you can fork the project on Github and add your own installers for the Koding community!
If we are missing any packages and frameworks that you would like KPM to be able to handle, please let us know via email at [email protected].