Skip to content

MySQL Shell

Oracle / MySQL team · Oracle’s scriptable MySQL command-line client with SQL, JavaScript and Python modes, logical backup utilities, upgrade checks and high-availability administration.

CaskDatabases 228
Install command
brew install --cask mysql-shell
30-day installs
432
#499 in App
1-year installs
3.9K
Last 365 days
Latest version
26.10.0.1
Download size
179MB
dmg
Release cadence
Irregular
2 releases in 30 days

About

MySQL Shell is an advanced command-line client and code editor maintained by the MySQL team at Oracle. Its interactive console supports SQL, JavaScript and Python for database development and administration. This Homebrew cask installs the native MySQL Shell package, not MySQL Server or a standalone graphical database application.

Database utilities

The official repository documents logical dump, load and copy tools for instances, schemas and tables. These support multithreaded consistent processing, object inclusion and exclusion, compression, optional checksums and cloud storage. Additional utilities include binary-log dump and restore, migration to OCI MySQL HeatWave and an upgrade readiness checker. Consult built-in help for the options supported by the installed release.

Administration

AdminAPI manages MySQL InnoDB Cluster, ReplicaSet and ClusterSet deployments. These workflows address high availability, replication management and disaster recovery, with MySQL Router used separately in distributed deployments. MySQL Shell also provides a SQL-based management interface for MySQL REST Service.

macOS package and usage

The recorded Homebrew version is 26.7.1,15: MySQL Shell 26.7.1 packaged for macOS 15, with separate arm64 and x86-64 DMG installers. The default artifact is arm64. The cask installs a PKG and stores user configuration under ~/.mysqlsh. Use the built-in \h or \? command for reference documentation, for example \h util.dumpInstance. Source-build prerequisites are documented separately in the repository.

GUI integration and release documentation

MySQL Shell for VS Code is a separate official GUI extension, not a standalone GUI installed by this cask. Version-specific official notes are available under the 26.7 release-note archive: 26.7.1 is the August 18, 2026 Critical Security Patch Update; 26.7.0 introduces a single release series and AdminAPI, dump and scripting changes. The project README describes overall capabilities; the dedicated release pages establish these exact-version changes.

Sources

At a glance

Chip
Apple silicon · Intel
Auto-updates
No
Repository
GitHub repository · Updated 5 days ago★228
Developer
Oracle / MySQL team
Homebrew
Available; updated by Homebrew
Also known as
mysql-shell
Homepage
dev.mysql.com/downloads/shell
Token
mysql-shell

Checked

How to install MySQL Shell on Mac

Homebrew runs the mysql-shell-26.10.0.1-macos15-arm64.pkg installer, which asks for an administrator password.

Install without Homebrew

Download the file Homebrew uses for your chip: Install Details

Uninstall MySQL Shell and optional data cleanup

Uninstall command
brew uninstall --cask mysql-shell

A regular uninstall removes the app and keeps its settings and caches.

Deep clean (optional)
Uninstall command
brew uninstall --zap --cask mysql-shell

--zap also deletes the settings, caches and other files listed in the Homebrew definition. They can include data shared with other apps and cannot be restored, and it does not guarantee that nothing is left. Back up any data you need first. To keep settings and caches, leave out --zap.

Questions about MySQL Shell

Is MySQL Shell safe?

MySQL Shell is in Homebrew’s official catalog and has not been disabled. Since September 2026, Homebrew disables apps that fail macOS Gatekeeper checks. When installing, Homebrew checks the download from dev.mysql.com against its SHA-256 checksum. It was installed 432 times through Homebrew in the last 30 days.

Does MySQL Shell have a public GitHub repository?

MySQL Shell has a public GitHub repository (https://github.com/mysql/mysql-shell), but OpenNavo has not verified an OSI license.

How do I completely uninstall MySQL Shell on a Mac?

Run brew uninstall --cask mysql-shell. It forgets 1 installer receipt. To delete its settings and caches as well, run brew uninstall --zap --cask mysql-shell. --zap also deletes the settings, caches and other files listed in the Homebrew definition. They can include data shared with other apps and cannot be restored, and it does not guarantee that nothing is left. Back up any data you need first. To keep settings and caches, leave out --zap. That also deletes ~/.mysqlsh.

Does MySQL Shell run on Apple silicon (M1 and later) Macs?

Yes. Homebrew downloads separate builds for Apple silicon and Intel Macs.

Where does MySQL Shell store its settings and data?

Its data is in ~/.mysqlsh. These locations come from Homebrew’s clean-up list.

What is the latest version of MySQL Shell?

The latest version is 26.10.0.1. Run brew upgrade --cask mysql-shell to update it.

What else does installing MySQL Shell add?

It installs through a .pkg installer, which asks for an administrator password.

Similar Apps

  • DBnginA native macOS app for setting up and managing database servers, including multiple versions and ports.
  • SnowSQLLegacy Snowflake command-line client for interactive SQL, batch scripts and data loading or unloading; Snowflake CLI is preferred for new projects.
  • TabularisOpen-source desktop SQL workspace with database browsing, a query editor, editable results, plugins and a built-in MCP server.
  • Oracle SQLclOracle command-line database development with interactive SQL, scripting, connection management, projects and optional MCP integration.
Browse all apps