---
sourceDocument: Yokohama Build or modify applications
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/yokohama/application-development

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama Build or modify applications

ft:clusterId :

    - cadev

bundleId :

    - cadev

workflow :

    - Development, Data, and Analytics


---

# Perform record operations using ServiceNow CLI

# Perform record operations using ServiceNow CLI {#ariaid-title1}

* Release version: Yokohama
* 
* Updated January 30, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

Create, read, update, delete, and query records in your instance using the ServiceNow CLI command-line tool.
* [Install the ServiceNow CLI](https://servicenow-prod.fluidtopics.net/i14NkZaQX58wOETxOnSk~Q "Install the ServiceNow CLI on a Mac, Windows, or Linux machine.")
* [Configuring and managing your ServiceNow CLI connection profiles](https://servicenow-prod.fluidtopics.net/IEl1AJB6K9sP~j0thJR6GQ "Create a connection profile to connect with your instance, view connection profiles, refresh your connection and available commands, or delete profiles you no longer need.")
{#manage-records__ul_w2d_jbd_l4b}  
Note:  
To perform record operations, install the CLI Metadata application from the ServiceNow Store on the instance you want to connect to.
* **[Create a record](https://servicenow-prod.fluidtopics.net/9cf_DZ9J~PMZb_pnt_TnSQ)**   
  Inserts a single record in a specified table.
* **[Delete a record](https://servicenow-prod.fluidtopics.net/BYZiV6AlydWbkBFuG0ya0w)**   
  Deletes the specified record from the specified table.
* **[Get a record](https://servicenow-prod.fluidtopics.net/C3CNiI0frcvitlVSAyIuxQ)**   
  Retrieves a single record based on the specified sys_id from the specified table.
* **[Query records](https://servicenow-prod.fluidtopics.net/_mG7Pjj3DuGEnVzmJINoQw)**   
  Retrieves multiple records from a specified table.
* **[Update a record](https://servicenow-prod.fluidtopics.net/~fASjhaKbJttvAfgtDxITQ)**   
  Updates the specified record with the given data attributes.

