Environment Fundamentals
View All Environments
When you want to view the basic information of all environments you own, you can use the following command to retrieve the environment list:
tcb env list
You will see output similar to the following:
Environment Id is the unique identifier of the environment and is globally unique. The environment name is user-defined and can help users easily distinguish between different environments.
Status indicates the environment state. You can only operate resources such as functions, databases, and storage when the environment status is normal. Newly created environments may also be in an unavailable state. Please wait patiently for initialization to complete. If your environment remains unavailable, contact us promptly for resolution.
Create Environment
You can use the following command to create a new environment.
tcb env create env-name
The number of environments each user can create is limited. If you have exhausted your environment quota, you will receive a notification indicating creation failure.