Skip to content

How to use HiddifyCli or Hiddify command line

This app is developed for cases where there is no desktop, such as servers, and it supports all processors.

Download

To download this app, go to here and download the file related to your processor.

To use it, the following command should be used.

HiddifyCli run -c <config file or sublink> -h <HiddifyApp config file or URL>
  • To connect to a specific configuration, just run the above command as follows.
HiddifyCli run -c <config file>

Here, put your desired configuration instead of <config file>.

  • You can also run a subscription in the app.
HiddifyCli run -c <sublink>

Put your subscription link here instead of <sublink>.

For this, you must first extract the settings related to your HiddifyApp.

Extract HiddifyApp settings

  • To do this, open HiddifyApp and enter Config Options and click the three-dot menu.
config-options
  • Now click the Export Settings to Clipboard option to save the settings to the clipboard.
export configs
  • Now you can save these settings in a file with json extension.

  • You can also put these settings in Github and use its link as URL.

  • Also, if you want to use your HDIFYAP settings, you should use the following command.
HiddifyCli run -c <config file or sublink> -h <HiddifyApp config file>

Here, put your config file or sublink instead of <config file or sublink> and enter the configuration file related to HiddifyApp that you extracted in the previous step instead of <HiddifyApp config file>.

  • Instead of the config file, you can use the link related to the settings in HiddifyApp that you put on Github.
HiddifyCli run -c <config file or sublink> -h <HiddifyApp config URL>

Here, put your config file or sublink instead of <config file or sublink> and put the link of the desired settings in HiddifyApp instead of <HiddifyApp config URL>.


Last update: April 17, 2024

Comments