Appium Beginner Tutorial 4 | How to install appium on MacOS

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
[Music] [Applause] hello and welcome to this session today we are going to learn how to install a PM on Mac operating system and this is going to be very easy and if you are a total beginner on a PM do not worry I am going to start from scratch and it will be very basic step-by-step so we will see how to install a PM in two ways one way is through nodejs and the other way is through a PM desktop client and I will show you both of these phase we will also see how can you check the installation and dependencies using a PM dr. and finally we will see how to uninstall the PM so let's get started and before I start let us go to the APM official website which is a PM dot IO and this is the website if you go here you will get the information on how to download and install a PM so yes this is the website let me also copy this URL and provide it in the notes and all these notes will be available for you so you can see this is the official website if you want to install through a PM desktop trance you can just go here download a PM and then install it and then the other process is through node so you can see these comments so step number one here will be check if node is installed on your system so this is the first thing we will check and I am pressing command + spacebar on my keyboard to bring up spotlight and now I will search for terminal so I will go to my terminal and here I will check NPM or node space - - version and you can see node is not installed that is why I am getting this a message command not found I can also check for NPM and I will get the same message here so that means node is not yet installed so these are the two commands you can use node space - hyphen version or you can also just say node space hyphen V so assuming that node GS is not installed I will now go to the next step for installing no dot GS now there are two ways one ways you can go to node GS website so I am searching for node.js download and this is the official website node GS dot o-r-g so here let us go here and see and you can see here you can get the Installer for Mac OS and then run that Installer and that will install node.js on your Mac operating system the other way which is shown here is you can use bruiser so you can use brew to install node and brew is a package manager for Mac so if I go to home view so this is the website for home view I will also copy this and provide it in the nodes and you can see this is the website and it says the missing package manager for Mac OS so it can be used to install packages on Mac OS so to install home view you just have to copy this statement here and then paste it in your terminal and it will install homebrew in my case it is already installed so what I'm going to do is I'm just going to use this command brew install node and if you want you can also install it by downloading the installer for node.js and then running it so I am just going to use brew and I am going to use this command blue install node so I will save you install node and this will start installing node on my Mac operating system let me put this all in the nodes here I will just highlight this commands and yes so it will first update home view and then start the installation so yes you can see it has started it is downloading the required latest node version and it is now it will unzip and install it and yes looks like this is done now and now we should have note on our system so once this is installed so let me also copy the URL for this direct link if you want to do it from here you can get it from here as well and then step number three will be check if node is installed and these are the commands that we have to use and we have seen this earlier as well so I will use the command node V and then NPM Viso NPM is the package manager for node which is used to install other packages using node so if I clear the screen and say node space - hyphen version or node space - B it is showing me the version of node installed and similarly I will say NPM - V and this is also showing me the version I can also say which node it will give me the location of node or which NPM so you can see the location as well so now that means node is now installed and now step number four is we will install a PM using node and here on the APM website you can see the commands are already there which is npm install - CA p.m. and here - e flag is for installing it globally on this system so i will use the same command here and let us see so it will download and install EPM let me highlight these commands yes so this is now fetching the APM libraries and it will start the installation so let us just wait for this installation to be completed and meanwhile I will also write down notes for step number five which is once we have APM installed we can check APM is installed by using the command APM space - - version or APM space - we should also work so these are the commands to check APM and yes this is done so if I say APM space - - version I should get the version of APM installed and let me just wait and yes I am getting this version which I believe should be the latest as of now and this means a permits installed and then the next step will be step number six is start APM and the command to start APM is a PM so I will say let me clear the screen and I will say APM and this should start the EPM server and you can see welcome to a PM version and it has started on port 4-7 - 3 which is the default port for APM so I will press control C on my keyboard to shut down the server and with these steps I have installed a PM using node GS now the other way is using the APM desktop client and for that let me write down the notes here installing APM with a PM desktop client so for that we just have to download a PM desktop client from the website of a PM which is a PM dot io and here it is and you just have to click on this download a PM here and it will take you to the next page which is a github page and here for Mac you can just get this dmg so whatever is the latest version at your time you can just get the dmg and then you just have to put the dmg in the Applications folder so I will just click here and it will start downloading the dmg file and you can see this is downloaded and this might take some time so in my case I have already downloaded and added to my Applications folder so if I take you to the applications let me just go to applications and you can see this is the latest APM version that I have installed through a PM desktop client and you can double click this to start the APM desktop so I will just write down the notes here I will say after you get the dmg file double click on the dot dmg file to install a PM desktop client and then step number three is start a PM desktop client now you can just start ape index top line by going to your applications and double-clicking on this APM icon or you can also go to spotlight I have pressed command space bar on my keyboard to bring this spotlight search and I will search for APM and you can see I have actually two versions this is the latest one I will just click here and this will start the APM desktop client so I'll just cancel this dmg download I do not need it and you can see here it is now verifying APM to app the API map and it will then start it now also if you want to see what is APM desktop so this is a UI a GUI application for APM so if you go here to this github page you can see APM server an inspector in desktop GUI is for Mac Windows and Linux and you can go down and see all the documentation here APM desktop is an app for Mac Windows and Linux which gives you the power of APM automation server in a beautiful and flexible UI so it provides you a UI like this and you can use this UI to manage APM so this is what APM desktop is and you can read about all this documentation and this will be very useful so let me also copy this link here this will be useful and let us just wait for APM desktop client to be up now you may get this message that it is an application down read from Internet are you sure you want to open so just say open and it should start the APM desktop client on your system and you can see this is the window so let me just minimize other windows and you can see this is the APM desktop client and you can just say start server and it will start APM and you can see the APM server is running now because in our case we have installed APM from node GS as well so in case I go to my terminal and I try to start APM again I will say APM and hit enter and let us see what is the message we will get and you can see it cannot start APM because the port 4-7 2/3 is already in use and because we have started it here so the same thing will happen here if I stop it stop the server from here and start APM from the terminal which is done which is installed to no GS you can see now FM is started and if I go to my desktop APM desktop client and try to start server on the same port which is 4 7 2 3 it will not start and will say this is already in use so I will have to use some other put but of course we will be using either one of the ways to start APM so this is how you can install and start APM on Mac OS and now let us also see how to use APM doctor so APM dr is an application using which we can check the installation and dependencies for APM so if you go to your browser and search for APM dr. so here you can see this is the APM doctor page and we also have this github page so let us go here and see how can we use APM doctor so you can see it attempts to diagnose and fix common node ios and android configuration issues before starting APM and this is how you can just get it if you already have node you can use this command to get APM doctor so you can see this github page as well this is a tool to verify APM installation so I will also put this here APM dr these are the websites from where you can get the information and the github page as well and then this is the command to get a PM doctor I'm will go to my terminal and say npm install' EPM dr. - G and this will install a PM doctor on my system so yes it has started and let us also see this documentation so you can after this is installed you can just use a PM doctor - H to see all the options you can use and then you can use any of these options to check for example if you want to check for our us setup you can use the - - our US flag so once this is downloaded I will show you and you can see it takes some time based on the network so let us just wait for this download and installation to be complete and yes it looks like this is done now and I can just say eh' p.m. doctor - V - check the version and this should give me the version for a PM doctor and it is actually giving me the options so oh yes I can use this and you can say a PM doctor - H which should also give you these options now let us say I want to check for I was set up so I will say a PM doctor - - iOS and hit enter and you can see it will give me all the information this is the system password it is asking me and yes you can see no GS was found note version was found X code was installed X code command line all these things are already set up if there is anything missing in your system it will highlight and it will give you a warning so in my system looks like everything is done although I will also tell you how to do this from scratch in the coming sessions but as of now it looks like everything is okay for an iOS testing with a p.m. so this is how you can use a p.m. dr. and now finally how to install a p.m. so to understorey p.m. if you have added a p.m. through node you can just say npm and install - g.b.m and this will uninstall a PM that you have added or downloaded installed through no GS and fraud Windows desktop client you can just go to your Applications folder or wherever you have your APM application and you can just delete it from here and it will delete the EPM desktop client so this is how you can uninstall APM and this is how we can install a p.m. on Mac OS I hope this session was very useful for you thank you for watching
Info
Channel: Automation Step by Step
Views: 72,970
Rating: undefined out of 5
Keywords: how to install appium on mac os, appium on mac, appium beginner tutorial, appium for beginners, appium step by step, appium by raghav pal, appium doctor, appium with node, appium desktop client installation on mac
Id: 7APcLr-cBM8
Channel Id: undefined
Length: 17min 44sec (1064 seconds)
Published: Thu May 02 2019
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.