Command Line Installation and Setup

Introduction

The Mason CLI (command line interface) is a helpful command line tool you can use to improve your development and deployment experience. It wraps around the Codemason API and abstracts away the tedious bits so you can get back to focusing on building your app.

With the Mason CLI, we also introduced Craft kits. Craft kits are the hassle free way to setup a Docker development environment for the language/framework of your choice. They are an excellent way to ease into building Docker powered apps without having to learn the ins and outs of Docker.

Installing the CLI

Install the Mason CLI as a global NPM package

$ npm install --global codemason

Dependencies: NodeJS, Git, Docker

Updating the CLI

The Mason CLI will automatically update when changes are released.

Commands

A list of available commands can be accessed via the help command or on the Mason CLI repo

$ mason help