We use NodeJS’s Package Manager to install the mist-CLI, so we first need to install the package manager. All code is managed with Git, which we also need to install.
npm --version
8.18.0
git --version
git version 2.37.3.windows.1
⚠️ Because mist-cli interacts with Git, all mist-commands must be run in a terminal that can execute
gitcommands. For windows users we recommend Git Bash.
All administrative commands are executed via a secure connection (SSH). Therefore we need to verify that we are connected directly to mist-cloud, with no one listening to the communication. To enforce this, add mist-cloud to the ‘known hosts’ with the command:
echo "api.mist-cloud.io ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOW2dgo+0nuahOzHD7XVnSdrCwhkK9wMnAZyr6XOKotO" >> ~/.ssh/known_hosts
To verify the connection we need to set up a new user account.