installation
Quick Installation
DMC supports common UNIX operating systems such as Mac OSX, Linux, and FreeBSD.
It is recommended to use the following command in the terminal for quick installation:
1 | https://github.com/datamallchain/chain-artifact/releases |
After installation, the DMC
executable file will be located in the system’s bin
directory. To check the DMC version, use the following command:
1 | ~$ which dmc |
Common Commands
Running dmc
directly and pressing Enter will display version information, as shown below:
1 | ~$ dmc |
To create a hello_dmc
folder and generate a package.json
file for initialization, use the following commands:
1 | $ cd hello_dmc |
To install packages,
1 | $ dmc --install dmc.js or npm install dmc.js |
Upgrading
Executing the installation command again will automatically overwrite the existing dmc
executable file. Restart the dmc
service to complete the upgrade.
Uninstalling
Simply delete the dmc
executable file in /usr/local/bin/
.
1 | $ sudo rm /usr/local/bin/dmc |
👉 【get start】