![]() ![]() ![]() In the upcoming articles, I will explain – How to install Appium using npm command line tool.Īs you have now understood the role of node.js and npm in Appium learning, let’s follow the below steps for configuring the environment variables for node.js and npm in your machine:ġ) Go to your C: Drive where you can see your program files as shown below:Ģ) Going inside the ‘Program Files’ folder and click on ‘nodejs’ folder as shown below:ģ) After going inside the nodejs folder, copy the Folder path as shown below:Ĥ) Right click on the ‘This PC’ option and click on the ‘Properties’ option as shown below:ĥ) Click on the ‘Advanced System Settings’ > ‘Environment Variables’ button > System Variables ‘New’ button > Enter Variable Name as ‘NODE_HOME’ and Variable Value as the path copied in Step 3 and click on ‘OK’ buttons to close all the dialogs.Ħ) Now navigate to the Path mentioned in Step 3 and click on ‘node_modules’ folder as shown below:ħ) After going inside the above node_modules folder, click on ‘npm’ folder to go inside it as shown below:Ĩ) After going inside the npm folder, click on the ‘bin’ folder as shown below:ĩ) After going inside the bin folder, copy the npm bin folder path as shown below:ġ0) Right click on the ‘This PC’ option and click on the ‘Properties’ option as shown below:ġ1) Click on the ‘Advanced System Settings’ > ‘Environment Variables’ button > System Variables > Select Path Variable and then click on the ‘Edit’ button as shown below:ġ2) In the displayed ‘Edit Environment variable’, click on ‘New’ button and paste the path copied in the above step 9 and click on ‘OK’ buttons until all the dialogs get closed as shown below: Npm is a command line installer and using which we can install different node modules like Appium, WebDriver, AngularJS in your machines. On installing node.js in your machine, npm will come by default and is not required to be installed again. Hence Appium is one of the node modules in the market which requires node.js software to be installed in our machine as a pre-requisite for using it. Node.js is a software required for executing the different node modules like Appium, WebDriverIO, AngularJS and many more. ![]() In this article, I am going to explain how to configure the environment variables for node.js and npm in your machine. In the previous article, I have explained how to Install node.js and npm. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2023
Categories |