Updating the pos-cli

This guide will help you update the platformOS pos-cli to the latest version. The pos-cli allows you to easily deploy your configuration files and assets to our platform, and communicate with the platformOS API. We continuously improve and add new functionality to the pos-cli, so we recommend to use the latest version.


To be able to update the pos-cli, you have to have it installed on your computer. If you don't have the pos-cli installed, the installation process will automatically install the latest version.


Updating the pos-cli is a two-step process:

Step 1: Update the pos-cli

To update the pos-cli to the latest version, enter:

npm install -g @platformos/pos-cli

If your node is installed for all users you might need to use sudo to install npm packages globally:

sudo npm install -g @platformos/pos-cli

Step 2: Check the version number

Use the following command to check the version number of your pos-cli:

pos-cli -v

Running this command displays the version number of your pos-cli, for example:


Next steps

Congratulations! You have updated your pos-cli. You can use it to create your codebase, or to deploy and sync your changes.


We are always happy to help with any questions you may have.