• About Us
  • Disclaimer
  • Contact Us
  • Privacy Policy
Tuesday, June 30, 2026
mGrowTech
No Result
View All Result
  • Technology And Software
    • Account Based Marketing
    • Channel Marketing
    • Marketing Automation
      • Al, Analytics and Automation
      • Ad Management
  • Digital Marketing
    • Social Media Management
    • Google Marketing
  • Direct Marketing
    • Brand Management
    • Marketing Attribution and Consulting
  • Mobile Marketing
  • Event Management
  • PR Solutions
  • Technology And Software
    • Account Based Marketing
    • Channel Marketing
    • Marketing Automation
      • Al, Analytics and Automation
      • Ad Management
  • Digital Marketing
    • Social Media Management
    • Google Marketing
  • Direct Marketing
    • Brand Management
    • Marketing Attribution and Consulting
  • Mobile Marketing
  • Event Management
  • PR Solutions
No Result
View All Result
mGrowTech
No Result
View All Result
Home Google Marketing

Making Gemini CLI extensions easier to use

Josh by Josh
February 11, 2026
in Google Marketing
0
Making Gemini CLI extensions easier to use


Gemini CLI Extension settings hero image

Stop debugging ambiguous startup failures caused by missing API keys, hidden environment variables, or a crashing MCP server. AI tools are most effective when they’re tailored to your specific environment and data but manual configuration is often brittle and confusing. This is why we are launching extension settings. Gemini CLI extensions can now define settings that the user will be prompted to provide upon installation, ensuring extensions have exactly what they need to function from the moment you install them.

Sorry, your browser doesn’t support playback for this video

A first-class experience for extension configuration

Extension settings provide a structured approach that ensures your experience is painless and straightforward. Extension authors can now define exactly what information their tool needs to function; whether it’s an API key, a base URL, or a project identifier. No more digging through README’s or trying to decode error messages.

Extension settings provide the following benefits:

  • Automated setup: Users are automatically prompted to provide settings during the installation of an extension.
  • Integrated security: Sensitive settings like API keys are automatically stored in the system keychain rather than plain text files.
  • Command-line management: The new gemini extensions config command provides a centralized way to view and update settings.
  • Scoped overrides: Support for both global user and project-specific workspace scopes ensures the right configuration is used in the right context.

Practical example: The AlloyDB extension

The AlloyDB extension is a perfect example of why structured settings matter. To connect with your database and interact with your data, the extension requires several pieces of information: a project ID, region, cluster ID, instance ID, and database.

In the past, you had to manually export these as environment variables. Now, the extension defines them in its manifest. When you install it, Gemini CLI guides you through the setup:

? Project ID: Your GCP project ID
? Region: us-central1
? Cluster ID: my-cluster
? Instance ID: my-primary-instance


✔ Project ID
ID of the Google Cloud project: my-google-cloud-project
✔ Location
Region of the AlloyDB cluster: us-central1
✔ Cluster ID
ID of the AlloyDB cluster: my-cluster
✔ Instance ID
ID of the AlloyDB instance: my-instance
✔ Database
Name of the database: postgres
✔ User
(Optional) Username of the database user (Default: IAM user): postgres
✔ Password
(Optional) Password of the database user (Default: IAM user): *****
✔ IP Type
(Optional) Type of the IP address: PUBLIC, PRIVATE, or PSC (Default: Public):
Extension "alloydb" installed successfully and enabled.

Shell

These values are saved securely and provided to the extension’s MCP server automatically, so you can start querying your data immediately. This setup provides a reliable and secure method for database connection. It ensures you have constant visibility into which database is active and prevents the agent from altering your configuration.

Check out these updates for all Data Cloud extensions: bigquery-data-analytics, cloud-sql-mysql, cloud-sql-postgresql, cloud-sql-sqlserver, firestore-native, looker, spanner.

How to define settings as an author

To add configuration to your extension, include a settings array in your gemini-extension.json file. Each setting specifies a user-friendly name, a description, and the environment variable it should be mapped to.

{
  "name": "my-cool-extension",
  "version": "1.0.0",
  "settings": [
    {
      "name": "API Key",
      "description": "Your secret API key for the service.",
      "envVar": "MY_API_KEY",
      "sensitive": true
    },
    {
      "name": "Endpoint URL",
      "description": "The base URL for the API service.",
      "envVar": "API_ENDPOINT"
    }
  ]
}

JSON

When a user installs this extension, Gemini CLI guides them through the setup process. If a setting is marked as sensitive, the input is obfuscated during entry and stored securely in the system keychain.

Managing settings with the config command

The gemini extensions config command is your primary tool for managing extension configuration after installation. Use it to update settings interactively or target specific values directly.

Update all settings for an extension

To walk through every setting defined by an extension, run:

gemini extensions config <extension-name>

Shell

Update a specific setting

If you know exactly which value needs to change, specify the environment variable name:

gemini extensions config <extension-name> <env-var-name>

Shell

Use workspace overrides

For settings that vary between projects, use the –scope workspace flag to save the value in your current directory’s configuration rather than globally:

gemini extensions config alloydb ALLOYDB_POSTGRES_CLUSTER --scope workspace

Shell

Debugging the configuration

When troubleshooting issues with extensions, it is often helpful to verify that all configuration settings are correct. A simple typo in a project ID or a missing API key can prevent an extension from functioning properly.

You can inspect the currently installed extensions and their active settings using the extensions list command. This functionality is available via the command line and as a built-in command. Both will output a summary of your installed extensions, their version status, and their current configuration.

Command Line

gemini extensions list

# ✓ alloydb (0.1.10)
#  Source: https://github.com/gemini-cli-extensions/alloydb (Type: github-release)
#  Release tag: 0.1.10
# ...
#  Settings:
#   Project ID: my-gcp-project
#   Location: us-central1
#   Cluster ID: my-alloy-db
#   Instance ID: my-primary
#   Database: postgres
#   User: postgres
#   Password: *****
#   IP Type: public

Shell

/extensions list

# Installed extensions:
#   alloydb (v0.1.10) - active (up to date)
#     settings:
#     - Project ID: my-gcp-project
#     - Location: us-central1
#     - Cluster ID: my-alloy-db
#     - Instance ID: my-primary
#     - Database: postgres
#     - User: postgres
#     - Password: ****
#     - IP Type: public

Shell

Best practices for extension settings

  • Provide clear descriptions: Help users understand exactly where to find the values they need (e.g., “Find this in your GCP Console under IAM”).
  • Use sensitive for secrets: Always set “sensitive”: true for API keys, passwords, or any data that should not be stored in plain text.
  • Keep names concise: Use short, user-friendly names that fit well within terminal prompts.
  • Leverage workspace scope: Use workspace-scoped settings for project- specific IDs to prevent global configuration pollution.

Get started today

Extension settings and the gemini extensions config command are available as of v0.28.0+. Update to the latest version by running:

npm install -g @google/gemini-cli@latest

Shell

Check out our updated documentation to learn more:

Try out extension settings today when building Gemini CLI extensions and if you run into any issues let us know on our GitHub repository or on socials!

You can also follow Gemini CLI on X to stay up to date with the latest news and announcements.



Source_link

READ ALSO

Building a nation of AI trailblazers

A Google expert explains full-stack AI and full-stack development

Related Posts

Building a nation of AI trailblazers
Google Marketing

Building a nation of AI trailblazers

June 30, 2026
A Google expert explains full-stack AI and full-stack development
Google Marketing

A Google expert explains full-stack AI and full-stack development

June 30, 2026
Google Pixel Watch 5 seemingly surfaces with four variants and even more questions
Google Marketing

Google Pixel Watch 5 seemingly surfaces with four variants and even more questions

June 29, 2026
The Gemini app is bringing personalized image creation to more users.
Google Marketing

The Gemini app is bringing personalized image creation to more users.

June 29, 2026
100 things to try with your Gemini for Home voice assistant
Google Marketing

100 things to try with your Gemini for Home voice assistant

June 29, 2026
Study notebooks in the Gemini app
Google Marketing

Study notebooks in the Gemini app

June 29, 2026
Next Post
Small Businesses Double Down for 2026: Majority Plan to Increase Marketing Budgets to Combat Inflation

Small Businesses Double Down for 2026: Majority Plan to Increase Marketing Budgets to Combat Inflation

POPULAR NEWS

Trump ends trade talks with Canada over a digital services tax

Trump ends trade talks with Canada over a digital services tax

June 28, 2025
15 Trending Songs on TikTok in 2025 (+ How to Use Them)

15 Trending Songs on TikTok in 2025 (+ How to Use Them)

June 18, 2025
Communication Effectiveness Skills For Business Leaders

Communication Effectiveness Skills For Business Leaders

June 10, 2025
App Development Cost in Singapore: Pricing Breakdown & Insights

App Development Cost in Singapore: Pricing Breakdown & Insights

June 22, 2025
Comparing the Top 7 Large Language Models LLMs/Systems for Coding in 2025

Comparing the Top 7 Large Language Models LLMs/Systems for Coding in 2025

November 4, 2025

EDITOR'S PICK

Synthetic Voices: The Moment the Magic Turns Mainstream

Synthetic Voices: The Moment the Magic Turns Mainstream

October 31, 2025
Will AI kill everyone? Here’s why Eliezer Yudkowsky thinks so.

Will AI kill everyone? Here’s why Eliezer Yudkowsky thinks so.

September 17, 2025
Publicis and Omnicom Q2 numbers give mixed messages

Publicis and Omnicom Q2 numbers give mixed messages

July 18, 2025
AI learning app Gizmo levels up with 13M users and a $22M investment

AI learning app Gizmo levels up with 13M users and a $22M investment

April 15, 2026

About

We bring you the best Premium WordPress Themes that perfect for news, magazine, personal blog, etc. Check our landing page for details.

Follow us

Categories

  • Account Based Marketing
  • Ad Management
  • Al, Analytics and Automation
  • Brand Management
  • Channel Marketing
  • Digital Marketing
  • Direct Marketing
  • Event Management
  • Google Marketing
  • Marketing Attribution and Consulting
  • Marketing Automation
  • Mobile Marketing
  • PR Solutions
  • Social Media Management
  • Technology And Software
  • Uncategorized

Recent Posts

  • Reasons Consumers Must Understand Varying Repayment Structures Before Applying for a Loan
  • Insider One vs Salesforce Marketing Cloud for E-commerce
  • Building a nation of AI trailblazers
  • Your wrapper is killing your pitch
  • About Us
  • Disclaimer
  • Contact Us
  • Privacy Policy
No Result
View All Result
  • Technology And Software
    • Account Based Marketing
    • Channel Marketing
    • Marketing Automation
      • Al, Analytics and Automation
      • Ad Management
  • Digital Marketing
    • Social Media Management
    • Google Marketing
  • Direct Marketing
    • Brand Management
    • Marketing Attribution and Consulting
  • Mobile Marketing
  • Event Management
  • PR Solutions