Skip to content

Instantly share code, notes, and snippets.

View wattry's full-sized avatar
🎯
Grateful

wattry wattry

🎯
Grateful
View GitHub Profile
@wattry
wattry / instant-client.sh
Created December 1, 2022 18:36
Bash script to automate oracle instant client setup
#!/bin/sh
# First check to ensure that an instant client instance isn't already installed
# by determining if a symlink exists within /usr/local/lib.
if [ -e "/usr/local/lib/libclntsh.dylib" ] # If symlink file exists
then
# If one already exists nothing new has to be done, just exit
echo "[*] Looks like an Instant Client is already installed on this machine"
echo " Instant Client Location: $(readlink '/usr/local/lib/libclntsh.dylib')"
echo "[*] Exiting..."
@wattry
wattry / README.md
Last active December 1, 2022 19:18
Running oracle instant client on Mac M1 ARM chipset

Installing Node

Ensure you have completely removed any versions of node you have. This is very important espciatlly if you have used brew to install. If you have downloaded the .pkg file from node.

Installing Rosetta 2

Rosetta is going to interpret the x86_64 binaries to ARM so you'll need to install this.

softwareupdate --install-rosetta