Sign InTry Free

tiup env

TiUP provides users with flexible and customized interfaces, some of which are implemented using environment variables. The tiup env command is used to query the user-defined environment variables that TiUP supports and their values.


tiup env [name1...N]

[name1...N] is used to view the specified environment variables. If it is not specified, all supported environment variables are viewed by default.




  • If [name1...N] is not specified, a list of "{key}"="{value}" is output.
  • If [name1...N] is specified, the "{value}" list is output in order.

In the above output, if value is empty, it means that the value of the environment variable is not set. In this case, TiUP uses the default value.

<< Back to the previous page - TiUP Reference command list

Download PDFRequest docs changesAsk questions on TiDB Forum
Was this page helpful?
TiDB Cloud
Get Demo
© 2023 PingCAP. All Rights Reserved.