[Yandex Cloud documentation](../../../index.md) > [Yandex Compute Cloud](../../index.md) > [CLI reference](../index.md) > [instance](index.md) > get

# yc compute instance get

Show information about the specified virtual machine instance

#### Command Usage

Syntax:

`yc compute instance get <INSTANCE-NAME>|<INSTANCE-ID> [<INSTANCE-NAME>|<INSTANCE-ID>...] [--full] [Global Flags...]`

Aliases:

- `describe`

- `show`

#### Flags

#|
||Flag | Description ||
|| `--id` | `string`

Instance id. ||
|| `--name` | `string`

Instance name. ||
|| `--full` | Whether description should include metadata of the instance ||
|#

#### Global Flags

#|
||Flag | Description ||
|| `--profile` | `string`

Set the custom configuration file. ||
|| `--debug` | Debug logging. ||
|| `--debug-grpc` | Debug gRPC logging. Very verbose, used for debugging connection problems. ||
|| `--no-user-output` | Disable printing user intended output to stderr. ||
|| `--retry` | `int`

Enable gRPC retries. By default, retries are enabled with maximum 5 attempts.
Pass 0 to disable retries. Pass any negative value for infinite retries.
Even infinite retries are capped with 2 minutes timeout. ||
|| `--cloud-id` | `string`

Set the ID of the cloud to use. ||
|| `--folder-id` | `string`

Set the ID of the folder to use. ||
|| `--folder-name` | `string`

Set the name of the folder to use (will be resolved to id). ||
|| `--endpoint` | `string`

Set the Cloud API endpoint (host:port). ||
|| `--token` | `string`

Set the OAuth token to use. ||
|| `--impersonate-service-account-id` | `string`

Set the ID of the service account to impersonate. ||
|| `--no-browser` | Disable opening browser for authentication. ||
|| `--format` | `string`

Set the output format: text (default), yaml, json, json-rest. ||
|| `--jq` | `string`

Query to select values from the response using jq syntax ||
|| `-h`, `--help` | Display help for the command. ||
|#
#### Examples

 * [Attaching a file storage to a VM](../../operations/filesystem/attach-to-vm.md#tf_1)
 * [Detaching a file storage from a VM](../../operations/filesystem/detach-from-vm.md#tf_1)
 * [Adding a VM to a GPU cluster](../../operations/gpu-cluster/gpu-add-to-cluster.md#tf_1)
 * [Adding SSH keys for other users](../../operations/vm-connect/ssh.md)
 * [Adding a network interface to a stopped VM](../../operations/vm-control/attach-network-interface.md#cli_1)
 * [Deleting a network interface from a VM](../../operations/vm-control/detach-network-interface.md#cli_1)
 * [Updating the VM internal IP address](../../operations/vm-control/internal-ip-update.md#cli_1)
 * [Attaching a disk](../../operations/vm-control/vm-attach-disk.md#cli_1)
 * [Assigning a public IP address to a VM](../../operations/vm-control/vm-attach-public-ip.md#cli_1)
 * [Updating a VM subnet](../../operations/vm-control/vm-change-folder.md#cli_2)
 * [Moving a VM instance to the ru-central1-d zone using a special command](../../operations/vm-control/vm-change-zone.md#cli_4)
 * [Detaching a disk from a VM](../../operations/vm-control/vm-detach-disk.md#cli_1)
 * [Unassigning a public IP address from a VM](../../operations/vm-control/vm-detach-public-ip.md#cli_1)
 * [Assign the IP address to the new VM](../../operations/vm-control/vm-transferring-public-ip.md#cli_4)
 * [Check maintenance event handling](../../operations/vm-control/vm-update-policies.md)
 * [Changing the vCPU and RAM configuration](../../operations/vm-control/vm-update-resources.md#cli_1)
 * [Creating a VM with a GPU](../../operations/vm-create/create-vm-with-gpu.md#cli_1)
 * [Creating a VM with metadata from environment variables](../../operations/vm-create/create-with-env-variables.md)
 * [Getting information from outside a VM](../../operations/vm-info/get-info.md#cli_1)
 * [Accessing metadata from outside the VM instance](../../operations/vm-metadata/get-vm-metadata.md#cli_1)
 * [Configuring parameters of the VM metadata service](../../operations/vm-metadata/setup-metadata-service.md#tf_1)