-
Notifications
You must be signed in to change notification settings - Fork 1
Setup
The MDK has the following dependencies:
- MacOS or Linux
- Node.js 8.0 or higher
- Yarn (a node package manager)
The easiest way to get Node.js and Yarn on MacOS is via homebrew. You install homebrew by following the instructions at https://brew.sh/.
You can check to see if you have Node.js already installed by opening Terminal.app on MacOS or any terminal on linux and running:
$ node -v
(note: the $
is just the prompt displayed, you do not need to type it as part of the command)
If you see "command not found" or your Node version is less than 8.0, you can install Node via:
$ brew install node
You can then install Yarn by running:
$ npm install -g yarn
Finally, you can install the MDK itself with yarn:
$ yarn global add @movable/cli
This command doubles as both the installation and upgrade command. If you ever need to remove the MDK, you can do so with:
$ yarn global remove @movable/cli
You can check to see that the MDK has been correctly installed with:
$ movable --version
movable-cli: 0.11.2
node: 8.9.4
os: darwin x64
You can run movable --help
to see a list of all possible commands and arguments.
Next: Creating a new project