Installing Oracle Instant Client for Apple macOS ARM64 (M1/M2/M3)
In case you missed it, Oracle Instant Client is available for macOS ARM64. See the release announcement post by my colleague Sharad Chandran.
I commonly install the ‘Basic’ package to give me the Oracle Client libraries needed for runtime by tools & Thick drivers, the ‘SQL*Plus’ package to give me a command line SQL query tool, and the ‘SDK’ package to give me header files (because I still build OCI-based programs like the PHP OCI8 driver):
curl -O https://download.oracle.com/otn_software/mac/instantclient/instantclient-basic-macos-arm64.dmg
curl -O https://download.oracle.com/otn_software/mac/instantclient/instantclient-sqlplus-macos-arm64.dmg
curl -O https://download.oracle.com/otn_software/mac/instantclient/instantclient-sdk-macos-arm64.dmg
hdiutil mount instantclient-basic-macos-arm64.dmg
hdiutil mount instantclient-sqlplus-macos-arm64.dmg
hdiutil mount instantclient-sdk-macos-arm64.dmg
/Volumes/instantclient-basic-macos*/install_ic.sh
hdiutil unmount /Volumes/instantclient-basic-*/
hdiutil unmount /Volumes/instantclient-sqlplus-*/
hdiutil unmount /Volumes/instantclient-sdk-*/
This installs into $HOME/Downloads/instantclient_23_3
.
Check the download page for the latest links and other packages.