Refresh your connection
task brazil Updated Sep 10, 2026 1 min read refresh-profile.md
Update the available commands from the instance for the given profile. Refresh your connection after modifying any of the commands on the corresponding instance in order to keep the CLI up-to-date.
Before you begin
A default profile must first exist to communicate with an instance.
Role required: none.
Procedure
-
Open your system's command-line tool and execute this command.
Include the
[--profile profile-name]argument to refresh connection information from a named profile. If you do not include the argument, the CLI refreshes the default profile.Shell$ snc configure profile refresh [--profile profile-name]
Result
The CLI connects to the instance in the designated connection profile and updates any commands that may have changed.
Parent Topic:Configuring and managing your ServiceNow CLI connection profiles
42 lines · 1.7 KB
---
title: Refresh your connection
description: Update the available commands from the instance for the given profile. Refresh your connection after modifying any of the commands on the corresponding instance in order to keep the CLI up-to-date.
locale: en-US
canonical_url: https://www.servicenow.com/docs/r/application-development/servicenow-cli/refresh-profile.html
release: brazil
product: ServiceNow CLI
classification: servicenow-cli
topic_type: task
last_updated: "2026-09-10"
reading_time_minutes: 1
breadcrumb: [Configuring and managing your ServiceNow CLI connection profiles, ServiceNow CLI, Developing your application, Classic app development, Building applications]
---
# Refresh your connection
Update the available commands from the instance for the given profile. Refresh your connection after modifying any of the commands on the corresponding instance in order to keep the CLI up-to-date.
## Before you begin
A default profile must first exist to communicate with an instance.
Role required: none.
## Procedure
1. Open your system's command-line tool and execute this command.
Include the `[--profile profile-name]` argument to refresh connection information from a named profile. If you do not include the argument, the CLI refreshes the default profile.
```
$ snc configure profile refresh [--profile profile-name]
```
## Result
The CLI connects to the instance in the designated connection profile and updates any commands that may have changed.
**Parent Topic:**[Configuring and managing your ServiceNow CLI connection profiles](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-development/servicenow-cli/configure-profile.md)
| title | Refresh your connection |
| description | Update the available commands from the instance for the given profile. Refresh your connection after modifying any of the commands on the corresponding instance in order to keep the CLI up-to-date. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/application-development/servicenow-cli/refresh-profile.html |
| release | brazil |
| product | ServiceNow CLI |
| classification | servicenow-cli |
| topic_type | task |
| last_updated | 2026-09-10 |
| reading_time_minutes | 1 |
| breadcrumb | Configuring and managing your ServiceNow CLI connection profilesServiceNow CLIDeveloping your applicationClassic app developmentBuilding applications |