Configuration
To show your current configuration, run one of these commands:
direct config show
direct conf show
The configuration file config.json
is located in the installation folder of your global NPM packages. For Linux, it is usually:
/home/${USERNAME}/.nvm/versions/node/v${NODE_VERSION}/lib/node_modules/sui-direct/
You can set a configuration value with the following command:
direct config set --key=KEY --value=VALUE
For example, if you want to change your nodehttp
address, you can use the following command:
direct config set --key=nodehttp --value="http://localhost:5000"
Last updated