How to Install Ghost on Windows 10
Verify Prerequisites
- Ensure that you have the latest version of Node.js installed. You can download it from https://nodejs.org/en/download/.
- Check that you have a database management system (DBMS) such as MySQL or SQLite installed on your computer.
- Make sure you have Git installed. You can download it from https://git-scm.com/downloads.
Download and Install Ghost-CLI
Open your command prompt (CMD) or PowerShell as an administrator. Press the
Windowskey, typecmd, right-click onCommand PromptorWindows PowerShell, and selectRun as administrator.Type the following command to install Ghost-CLI:
npm install -g ghost-cli@latest
Create a New Directory
In your command prompt or PowerShell, navigate to your preferred directory for your Ghost installation. E.g.,
cd C:\Users\YourUsername\Desktop\my-ghost-blogCreate a new directory for your Ghost site by entering:
ghost install
Customize the Installation
Enter the following information to customize your installation:
- URL: Enter the URL that you will use to access your Ghost blog.
- MySQL: Select the database you will use. You will also have to enter the username and password for your database connection.
- Show Advanced Options: If you want to customize other settings such as automatic updates, SSL certificates, and the email service provider, select this option.
Run Ghost
After the installation process is complete, type the following command to start Ghost:
ghost start
Access the Ghost Admin Panel
- Open your preferred web browser and enter the URL you specified during the installation process. The Ghost admin panel should load, and you can now log in.
Congratulations! You have successfully installed Ghost on your Windows 10 computer.