How to install Maven on Mac || Set environment variable for Maven

  Рет қаралды 22,609

Codenbox AutomationLab

Codenbox AutomationLab

Жыл бұрын

#maven #seleniumwebdriver
+How to setup Maven on Mac?
+How to set environment variable for Maven on mac?
▬▬▬▬▬▬ In this Video ▶️ ▬▬▬▬▬▬
Commands to set variable:
vim ~/.bash_profile
(press i to change to insert mode)
export MVN_HOME=path of maven directory
export PATH=$PATH:$MVN_HOME/bin
(Hit ESC and then :wq to come out from this bash profile and then ENTER)
source ~/.bash_profile
echo $MVN_HOME
Download Maven: maven.apache.org/download.cgi
▬▬▬▬▬▬ Useful Links 🛠 ▬▬▬▬▬▬
Blog ► codenboxautomationlab.com/​​
GitHub Repo ► github.com/codenbox​​/
▬▬▬▬▬▬ Connect with us 👋 ▬▬▬▬▬▬
~~~Subscribe to this channel, and press bell icon to get all updated videos on Selenium and Cypress Automation:
/ codenboxautomationlab
~~~ Follow us on Facebook & Twitter to get more updates:
/ ​​
/ codenboxteam

Пікірлер: 63
@LifeQuillChronicles
@LifeQuillChronicles Жыл бұрын
I was struggling for so long to set Maven , my learning was on a break because I was not able to set it up. I went through all the youtube tutorials available and went through so many websites but none helped. I was so helpless. Thank-you for explaining so beautifully . I accomplished the task in a single go ! Thank-you so much and keep uploading videos.
@CodenboxAutomationLab
@CodenboxAutomationLab Жыл бұрын
Glad it helped! Please like & share the knowledge with others. It will encourage us to do more.
@bhanukusireddy9348
@bhanukusireddy9348 Жыл бұрын
are you using mac too...?
@CodenboxAutomationLab
@CodenboxAutomationLab Жыл бұрын
Much appreciate your feedback.
@shreyaankrao968
@shreyaankrao968 Жыл бұрын
Thank you so much for the detailed explanation. This ended my struggle in setting up Maven.Keep up the good work!!
@CodenboxAutomationLab
@CodenboxAutomationLab Жыл бұрын
You are welcome. Happy learning !
@user-mw2in6pj1q
@user-mw2in6pj1q 5 ай бұрын
Thank you. Finally done with setting up maven with this video, after watching many other videos .
@CodenboxAutomationLab
@CodenboxAutomationLab 15 күн бұрын
You're welcome!
@nonimitharuni9304
@nonimitharuni9304 Жыл бұрын
Thank you for this life saving video. Explanation was so good.
@CodenboxAutomationLab
@CodenboxAutomationLab Жыл бұрын
Much appreciated your feedback. Please share with others !
@mariaeduardaoliveira1891
@mariaeduardaoliveira1891 5 ай бұрын
Thanks for your video! It helps me a lot!!
@CodenboxAutomationLab
@CodenboxAutomationLab 27 күн бұрын
You're welcome. Pls share with others.
@sridevikpnaik1427
@sridevikpnaik1427 5 ай бұрын
Thanks for the clear explanation!!
@CodenboxAutomationLab
@CodenboxAutomationLab 27 күн бұрын
You're welcome. Pls share with others.
@manyangtaal34
@manyangtaal34 Жыл бұрын
Thank you for the precise step by step procedure.
@CodenboxAutomationLab
@CodenboxAutomationLab Жыл бұрын
You are Most welcome. Pls share with others.
@rickyruan6230
@rickyruan6230 Жыл бұрын
Thank you for your help. You literally kicked the nightmare from me and saved my day.
@CodenboxAutomationLab
@CodenboxAutomationLab Жыл бұрын
Much appreciate your feedback
@johannestk1999
@johannestk1999 2 ай бұрын
Papi eres una bestia, y gracias a tú video pude instalarlo en mi Mac os Sonoma . You´re the bigger beast !!
@mariacunha8508
@mariacunha8508 11 ай бұрын
Thank you so much!!! Appreciate this video so much
@CodenboxAutomationLab
@CodenboxAutomationLab 11 ай бұрын
You are welcome :)
@vanshitavarshney4011
@vanshitavarshney4011 6 ай бұрын
it helped me a lot.
@411station
@411station Жыл бұрын
Love you so much!!!
@CodenboxAutomationLab
@CodenboxAutomationLab Жыл бұрын
Much appreciated your feedback :)
@Eww...NotTheHumansAgain
@Eww...NotTheHumansAgain 8 ай бұрын
Thank you!
@CodenboxAutomationLab
@CodenboxAutomationLab 8 ай бұрын
Much appreciate :)
@momobetter31
@momobetter31 8 ай бұрын
Thank you!!!!!!
@CodenboxAutomationLab
@CodenboxAutomationLab 7 ай бұрын
You are welcome!
@MiguelCabreraS
@MiguelCabreraS 17 күн бұрын
Gracias! Muy buen aporte :)
@CodenboxAutomationLab
@CodenboxAutomationLab 15 күн бұрын
Much appreciate your feedback!
@user-rg4ls3hf7r
@user-rg4ls3hf7r 9 ай бұрын
Thank you so much bhai😥😥😥😥😥😥😥😥😥
@CodenboxAutomationLab
@CodenboxAutomationLab 9 ай бұрын
You are most welcome :)
@FahadAli-md5yh
@FahadAli-md5yh 6 ай бұрын
I did it in .zshrc in my mac. Thanks!
@Ali17418
@Ali17418 Ай бұрын
How?
@pranavkapoor2426
@pranavkapoor2426 10 ай бұрын
after typing in the echo statement I m getting a blank line , what should I do?
@user-er1oo5kj3i
@user-er1oo5kj3i 6 ай бұрын
Thank you for tutorial, but I have a problem, when I’m running mvn-v it’s saying that command is not found. What can I do in this case?)
@JoJo-cl2ss
@JoJo-cl2ss 5 ай бұрын
How to create the bash profile.. could u please help me on this query
@user-od7ff9yx1s
@user-od7ff9yx1s 4 ай бұрын
I'm unable to open batch folder in terminal
@mohanallu3791
@mohanallu3791 Жыл бұрын
what about z shell
@janesuthara4646
@janesuthara4646 9 ай бұрын
Can I have my unzip file somewhere else such as /Documents? or it has to be on desktop level?
@CodenboxAutomationLab
@CodenboxAutomationLab 9 ай бұрын
should be fine on /Documents.
@user-nm7xx1zu4p
@user-nm7xx1zu4p 11 ай бұрын
When I close the terminal and reopen it - mvn command doesn`t work. I saved everything like in tutorial
@CodenboxAutomationLab
@CodenboxAutomationLab 11 ай бұрын
Could you please share screenshot
@omersorhun4116
@omersorhun4116 8 ай бұрын
how did u solve pls
@user-nm7xx1zu4p
@user-nm7xx1zu4p 8 ай бұрын
@@omersorhun4116 tbh i don’t remember for sure, but try to download the link that ends with .zip
@namoan1216
@namoan1216 6 ай бұрын
why I run mvn -v not working?
@weif8520
@weif8520 4 ай бұрын
same here
@sowmyasasi1208
@sowmyasasi1208 17 күн бұрын
@@weif8520try mvn -version
@actandrepeat
@actandrepeat Жыл бұрын
Why is it gone once I restart the terminal?
@CodenboxAutomationLab
@CodenboxAutomationLab Жыл бұрын
After you set the environment variables, make sure you save it following the tutorial.
@actandrepeat
@actandrepeat Жыл бұрын
@@CodenboxAutomationLab It's still gone. I have to do source ~/.bash_profile every time I restart.
@jash_ikon
@jash_ikon Жыл бұрын
Even I'm facing the same issue. Please let us know the solution
@CodenboxAutomationLab
@CodenboxAutomationLab Жыл бұрын
@@jash_ikon : Please make sure you save it as per tutorial. Thanks!
@jash_ikon
@jash_ikon Жыл бұрын
Did it the same way. After given command for mvn it shows version but after I reopen terminal is lost
@deepthiremala5087
@deepthiremala5087 8 ай бұрын
Step 1: Download Maven and extract it Step 2: Move it to your require folder , eg: move it to Documents Step 3: Open Terminal 1) cd Documents 2) nano ~/.zshrc Step 4: type the following: export PATH=/Documents/maven-3.9.5/bin:$PATH Step 5: Control + O (To save the changes) Step 6: Enter Step 7: Exit the terminal , Quit it and reopen it again Step 8: To apply changes, type the following source ~/.zshrc Step 9: mvn -version
@melissawiggins3244
@melissawiggins3244 5 ай бұрын
Control + O doesn't do anything. How do you save once in "edit" like mode?
@weif8520
@weif8520 4 ай бұрын
Thank you so much! This works for me!
@joey_carlton
@joey_carlton 5 ай бұрын
Did not work
@melissawiggins3244
@melissawiggins3244 5 ай бұрын
After typing source ~/.bash_profile, I got export: Command not found. Bad : modifier in $ 'M'.
How To Download And Install Maven On MAC
14:29
Mukesh otwani
Рет қаралды 9 М.
Stay on your way 🛤️✨
00:34
A4
Рет қаралды 9 МЛН
How to Install Maven on macOS - Step by Step Guide
9:02
Begin Secure
Рет қаралды 12 М.
Steps to set environment variables for JAVA and MAVEN on a MAC OS M1
9:10
Jagadeesh Jayachandran
Рет қаралды 25 М.
Everything You NEED to Know About WEB APP Architecture
10:27
ForrestKnight
Рет қаралды 492 М.
Can we dooby Tesco's GU10 bulbs?  - with schematic
10:41
bigclivedotcom
Рет қаралды 57 М.
Set up a Mac in 2024 for Power Users and Developers
1:00:34
Syntax
Рет қаралды 279 М.
How to install Maven on Mac OS Beginners Tutorial
10:29
Automation Step by Step
Рет қаралды 83 М.
How to Install Java on Mac | Install Java JDK on macOS (2024)
16:48
ProgrammingKnowledge
Рет қаралды 101 М.
Mac Fanboy Tries ARM Windows Laptops
31:40
Snazzy Labs
Рет қаралды 158 М.
Install Any Software Without Admin Rights?!
2:27
Loi Liang Yang
Рет қаралды 306 М.