DEV Community

Cover image for Now Install WordPress Just in seconds!
Mahmudul Hasan
Mahmudul Hasan

Posted on

Now Install WordPress Just in seconds!

Now you can install WordPress just in seconds💥, without any hassle to make an environment for WordPress installation on a local machine!

WordPress makes it easy for you!

As you are familiar with WordPress, what do you need to install WordPress on your local machine?

  • Server
  • Database
  • PHP
  • WordPress download
  • Unzip and install
  • Database connection
  • Login and more 😪

But now with the power of Node JS, yes Node JS, you can install WordPress just in seconds!

If you don't have Node JS, you first need Node JS on your computer. Then run command

npm i @wp-now/wp-now
Enter fullscreen mode Exit fullscreen mode

This command will download node_modules and package.json files. After that, run the command

wp-now start
Enter fullscreen mode Exit fullscreen mode

This command will download WordPress and SQLite database to your computer as this project uses SQLite for fast forward. This may take a little bit of time depending on your internet speed.

But after a few seconds, you will see redirect to browser to have WordPress running! 🎉

The entire project running virtually here! If you close the command prompt or run ctrl + c, then the project will stop working, just like a React project! but if you run again wp-now start then you see the WordPress run again!

In this virtual WordPress project, you can do as like you do in a controlled environment, like installing themes and plugins!

You may be wondering where these files and folders coming from! When you run those commands, WordPress creates a virtual folder ".wp-now" in your computer user account, where all themes and plugins will be stored.

You can find this folder as, C:\Users\{username}\.wp-now\

Thanks for reading, if you like share this post with your WordPress ninja teammates!


Sources: wp-now: Launch a Local Environment in Seconds

Top comments (0)