# unikname.network CLI alternate installation modes

WARNING

UNS/uns.network/universal-name-system is the old name of unikname.network blockchain. UNIK is the old name of UNIKNAME nft token UNS is the old name of UNIK protocol token Urls, commands and old documentation are not renamed yet but are still valid. We're updating progressively.

# Installation from NPM / Yarn

# Requirements

unikname.network CLI installation requires some dependencies to be installed.

# Node.js

Install a stable version of Node JS 12: https://nodejs.org/en/download/ (opens new window).

unikname.network CLI doesn't work on earlier versions (6, 8 or 10).

# Compilation tools

Even if the unikname.network CLI is written in a cross-operating system language (Javascript), it requires native dependencies which need to be compiled for your operating system.

You need:

  • gcc/g++
  • Python v3.x

Most of the times, theses tools are already installed. If not, you can read on the Unikname Forum (opens new window) how to install them for your operating system.

If still you need help to install theses tools, you can get support on the Unikname Forum (opens new window).

# Installation with NPM

As NPM is provided by NodeJS package, you can use it to install unikname.network CLI as global command ("sudo mode" might be required, depending on your NodeJS installation).

[sudo] npm install -g @uns/cli

Test your installation with

uns version

which should output something like that:

$ uns version
@uns/cli/x.y.z linux-x64 node-vXX.yy.zz

# UPDATE with NPM

When installed via npm, please remove it before installing it again.

[sudo] npm remove -g @uns/cli

If you fail to install the CLI, you can get support on the Unikname Forum (opens new window).

Note If you want, you can also use Yarn (opens new window) instead of NPM to install the unikname.network CLI from sources.