Installing the Marketplace Kit

Last edit:  Feb 11, 2019

Contributors:  Slashek diana-lakatos pavelloz lemingos

This guide will help you install the platformOS Marketplace Kit, that allows you to easily deploy your configuration files and assets to our platform, and communicate with the platformOS API.

Requirements

To install the Marketplace Kit, you need NPM (Node.js Package Manager). See our tutorials for installing NPM on Mac or Windows:

Steps

Installing the Marketplace Kit is a two-step process:

Step 1: Install the Marketplace Kit using NPM

Start your command-line tool (e.g. Terminal on a Mac, or Git Bash on Windows), and enter:


npm install -g @platform-os/marketplace-kit

If your Node.js is installed for all users you might need to use sudo to install NPM packages globally:


sudo npm install -g @platform-os/marketplace-kit

You can follow the installation process in your command-line (something similar to this will be displayed during installation):


/usr/local/bin/marketplace-kit -> /usr/local/lib/node_modules/@platform-os/marketplace-kit/marketplace-kit
/usr/local/bin/marketplace-kit-env -> /usr/local/lib/node_modules/@platform-os/marketplace-kit/marketplace-kit-env
/usr/local/bin/marketplace-kit-archive -> /usr/local/lib/node_modules/@platform-os/marketplace-kit/marketplace-kit-archive
/usr/local/bin/marketplace-kit-env-add -> /usr/local/lib/node_modules/@platform-os/marketplace-kit/marketplace-kit-env-add
/usr/local/bin/marketplace-kit-deploy -> /usr/local/lib/node_modules/@platform-os/marketplace-kit/marketplace-kit-deploy
/usr/local/bin/marketplace-kit-env-list -> /usr/local/lib/node_modules/@platform-os/marketplace-kit/marketplace-kit-env-list
/usr/local/bin/marketplace-kit-push -> /usr/local/lib/node_modules/@platform-os/marketplace-kit/marketplace-kit-push
/usr/local/bin/marketplace-kit-sync -> /usr/local/lib/node_modules/@platform-os/marketplace-kit/marketplace-kit-sync
/usr/local/bin/marketplace-kit-watch -> /usr/local/lib/node_modules/@platform-os/marketplace-kit/marketplace-kit-watch
+ @platform-os/marketplace-kit@1.0.5
added 88 packages in 6.719s

Step 2: Test the Marketplace Kit

Use the following command to test the Marketplace Kit:


marketplace-kit -V

If the Marketplace Kit has been installed correctly, running this command displays the version of your Marketplace Kit. If the Marketplace Kit hasn't been installed, running this command gives a command not found error.

Next steps

Congratulations! You have installed the Marketplace Kit. You can now create your codebase.

Questions?

We are always happy to help with any questions you may have. Check out our Help page, or contact us.