Learner
Learner

Reputation: 157

How to upgrade Appium 1.5.3 to Appium 1.8.1

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

Answers (9)

Stipe
Stipe

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

Raj Subrameyer
Raj Subrameyer

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

Wasiq Bhamla
Wasiq Bhamla

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

bsk
bsk

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

Mani
Mani

Reputation: 1186

There are two different types of appium tool avaliable

  1. Appium GUI
  2. Appium command tool

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

Ravi Sharma
Ravi Sharma

Reputation: 254

This worked for me:

npm install appium -g

It by default installed the latest.

Upvotes: 0

user7800962
user7800962

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

Disha Shrivastava
Disha Shrivastava

Reputation: 1

Try this command

npm install -g [email protected]

Upvotes: -2

Gergely A.
Gergely A.

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

Related Questions