DEV Community

Pradeep Kumar
Pradeep Kumar

Posted on

Path for MacOS

This is for reference:


export PATH="$PATH:/Volumes/Data/flutter/bin"
export PATH="$PATH:/Volumes/Data/flutter/bin"
export NVM_DIR=~/.nvm
source $(brew --prefix nvm)/nvm.sh
export PATH="$PATH:$HOME/.composer/vendor/bin"
alias sublime="/opt/homebrew/bin/subl"


export PATH="/opt/homebrew/opt/php@8.1/bin:$PATH"
export PATH="/opt/homebrew/opt/php@8.1/sbin:$PATH"
export PATH="/opt/homebrew/opt/php@8.1/bin:$PATH"
export PATH="/opt/homebrew/opt/php@8.1/sbin:$PATH"

export ANDROID_HOME=$HOME/Library/Android/sdk
export PATH=$PATH:$ANDROID_HOME/emulator
export PATH=$PATH:$ANDROID_HOME/platform-tools
export PATH=$PATH:$ANDROID_HOME/tools
export PATH=$PATH:$ANDROID_HOME/tools/bin
export PATH=$ANDROID_HOME/build-tools/33.0.0:$PATH
export PATH=$ANDROID_HOME/build-tools/33.0.0/bin:$PATH
export PATH=$ANDROID_HOME/build-tools/34.0.0:$PATH
export PATH=$ANDROID_HOME/build-tools/34.0.0/bin:$PATH

export JAVA_HOME="/Library/Java/JavaVirtualMachines/temurin-21.jdk/Contents/Home"
Enter fullscreen mode Exit fullscreen mode

Install Latest JavaVirtualMachines:
https://adoptium.net/temurin/releases/

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay