Reputation: 157
I have tried with command:
npm -install -g [email protected]
but when I restart Appium, it is still in 1.5.3 version.
Upvotes: 6
Views: 56797
Reputation: 510
You can do
1. npm uninstall -g appium
2. npm install -g [email protected]
3. appium -v
@is for specific version
Appium 1.8.1
Upvotes: 19
Reputation: 432
I have had similar issues upgrading to a higher version of appium.
This has worked for me whenever I have problem with appium
npm uninstall -g appium
npm cache clean --force
Then do,
npm install -g [email protected]
or
npm install -g appium
To get the latest version of appium
Upvotes: 3
Reputation: 959
If you have an old version of Appium server than you can update it without uninstalling it by executing following command in terminal or command prompt
npm -g update appium
This will update your Appium version to the latest version.
In case you want to update to a specific version than execute the following command:
npm update -g [email protected]
Upvotes: 6
Reputation: 215
try
npm install appium -g
you should get the latest stable version.
But if you are looking to install a specific beta, use following command from terminal:
npm install -g [email protected]
Upvotes: 1
Reputation: 1186
There are two different types of appium tool avaliable
It seems you updated to the command tool of appium and launch the appium GUI then you are checking the version.
Till now there is no GUI for appium1.6.
If you are checking command tool then there is some issue, you need to uninstall and install appium.
Upvotes: 18
Reputation: 254
This worked for me:
npm install appium -g
It by default installed the latest.
Upvotes: 0
Reputation:
You can run below command in terminal to install appium 1.6
npm install appium
For this you need node.js to be installed in your machine You can specify the version of the appium to be installed by using below command
npm install appium 1.6.3
Upvotes: 1
Reputation: 434
Try out without -g, it should work without it. Also your version is wrong, use that one:
npm -install [email protected]
Upvotes: 0