Install wp-cli on windows

WP-CLI is a set of command-line tools for managing WordPress installations. You can update plugins, configure multisite installs and much more, without using a web browser. So I am going to tell…

Source: Install wp-cli on windows

The last day ( છેલ્લો દિવસ )

Hi there,

The last day, yes I am talking about the last day of the year 2016. Another year passed and I became 26 in this year. A big change in this past year for me was I moved to Pune for my new job. And this time I am here at Pune for the new year. Everything is changed now. There was another big change in past year, but sorry I don’t want to share that right now.

So I was at the phoenix mall with my friend Amit ( my roommate too ) to celebrate last day of the year. So we were sitting at liberty square as like others for enjoying the atmosphere there. It was hot and happening atmosphere. All were enjoying music and dance and selfies and photos and all. I also took some selfies.

Now the main point of this blog. Actually, we were sitting at that square and suddenly I started thinking about the last day of 2015. Before Pune, I was doing my job at Surat and I used to do ups and downs by train. Ohh god !!!!!!!! what a rush in that train. But I enjoyed that journey for 1 hr with some people around me in that train. Some of them became a good friend of mine. Like Sneh, Dharmesh, Sanket and Mudassar and last but not the least, Rupesh.

So Sneh ( sexy boy ), I am missing those dumb smash for which we used to go Tithal and release on facebook. I still remember our bike riding from Bilimora to Tithal, sitting on the rock and taking videos for dumbsmash and discussion of how will we do and when we release it and all. And yes I will keep making an angry like on your photo in this new year too. And my jealousy on your stardom will increase day by day.

Dharmesh ( dhamo dhamaliyo ), I liked your company in trains. One thing I regret that we didn’t  watch any movie together because of you only. And I don’t understand what you want to do. I just want to say that make a decision and don’t think too much.

Sanket, you got married now. So wish you all the best with your soul mate. Just wanted to tell you that, start eating chicken man …:-)

Mudassar ( a brother from another mother ), hey bro… bhai bhai… bhaijaan…. We enjoyed a lot…. Like we saw almost every movie together in past year. I still remember that we saw even “Rudrama Devi”. What a movie it was!!!!!!!!!!!!!… He knows all my secret. I hope you will get your visa in this year ASAP. Hey, don’t forget to call me when you get your visa. I will come to the airport to drop you.

Dharmesh Kashyap ( professor ), I remembered that kite flying day. And also that girl who cut your kite and we laughed a lot on that scene. Hope you will get married in this new year.

Rupesh ( My mystery man. Saint outside and the devil inside.  ), I was remembering our holy place visits. Let’s that thing continue in this new year too. Just inform me and I will come. And I will ask you again and again in this year too that “When you will be getting married ?”.

I remembered all these things during we were waiting for  12 o’clock. All scenes were playing in my mind and I was like what life is. A few days before we used to travel together and now I am not with you. Seriously I am missing you all. thanks for being with me. You all made my life awesome. I hope our friendship will continue in this new year too. And Sneh and Dharmesh I would like to see you in Pune by the end of 2017.

Ohh!!!! suddenly countdown begun and all of us were shouting the countdowns. And after the 12 o’clock we said each other “Happy new year”. After that, people shouting and dancing and running and everyone like enjoying on their own different way. I was also enjoying the celebration. I broadcast a happy new year message to all from WhatsApp and started shouting with people. Then I saw people dancing around and celebrating. After a few moment, we went to our room and I wrote this blog and planned for a movie for the next day.

Actually, I want to tell you more but it will become boring to read this. So for now all of you best of luck for the new year. I hope this new year will full fill your dream and mine too.. Ya I am kind of selfish.. Happy new year to all of you guyzz…!!!!!!!!!

Introducing VR and 360° Content for All WordPress.com Sites

I like this so sharing on my blog.

Install wp-cli on windows

WP-CLI is a set of command-line tools for managing WordPress installations. You can update plugins, configure multisite installs and much more, without using a web browser.

So I am going to tell you short, simple and easy way that how to use wp-cli on windows system.

Step 1: Create folder named “bin” at location “C:\Users\USERNAME\bin”.

Step 2: Download wp-cli.phar and put this file into “bin” folder ( created in step 1 ).

Now let’s go to next step. Yehh!!!!! still some steps are remaining. So now we will create a bat file for wp command.

Don’t know to create bat file ? Don’t worry it’s ok if you don’t know something… See this for how to create bat file.

Step 3: After creating that file rename it to “wp.bat” add the following code into that file.

@ECHO OFF
SET BIN_TARGET=%~dp0/./wp-cli.phar
php "%BIN_TARGET%" %*

Step 4: Now go to Control Panel -> System -> Advanced System settings ( left sidebar ) and click on “Environment variables” and then chosse “PATH” from user variables and click edit.

systemsettings          ->         uservariables                                                                         variables

 

Step 5: Now add two paths into Variable values at value. 1st is PHP path ( where your php is installed. ). In my case it’s ;D:\xamp\php and 2nd is your wp-cli path ( we created in step 1 ) which is ;C:\Users\bunty\bin.

Final value will be like this:

C:\Users\bunty\AppData\Roaming\npm;C:\Users\bunty\AppData\Roaming\Composer\vendor\bin;D:\xamp\php;C:\Users\bunty\bin

Now we will check if it works or not. But before this you need to restart your PC and follow next steps.

Open cmd ( hopping that you all have different method to open it… ) and go to “C:\Users\USERNAME\bin” location by the following command:

cd C:\Users\USERNAME\bin

and after that run following command 

php wp-cli.phar --info

Hope you will get output something like this:

cmd

Awwwww…!!!!!! feels good right….!!!!!!!

Feeeeewwww…!!!!!!! this is too much right..?!!!! But cooool, you did it. Yes, you have completed the installation now. the only thing is need rightnow is just test it. To check and see whether WP-CLI is set up properly, execute the following line on the command prompt:

wp --info

And you will get same result as step 2 like this:

wp-cli

Finally it is done. Now you can use wp-cli commands. Now in cmd, just go to root of your WP installation and run following command:

wp plugin install bbpress --activate

And tell me what happens…..? I am not gonna tell you..!!!!! You tell me…..!!!!!!!

That’s it…