# Checking your current WordPress version

> Check which WordPress version your site runs using the dashboard, Softaculous, WP-CLI or the version.php file.

Source: https://helpcenter.ruachost.com/wordpress/guides/checking-my-current-wordpress-version/

Knowing which version of WordPress your site is running is important for security, compatibility, and troubleshooting. On **ruachost.com**, you can check your WordPress version using several methods.

## Why Check Your WordPress Version?

- Ensure your site is up to date with the latest security patches.
- Verify compatibility with plugins and themes.
- Troubleshoot issues related to outdated installations.

## Methods to Check WordPress Version

### 1. From the WordPress Admin Dashboard

- Log in to WordPress as an administrator.
- At the bottom of every page in the admin interface, the **WordPress version number** is displayed.
- On newer versions, the **At a Glance** box on the main dashboard also shows the version and current theme.

### 2. From the `version.php` File

If you cannot access the admin dashboard:

1. Log in via **cPanel File Manager**, FTP, or SSH.
2. Navigate to the `wp-includes` directory.
3. Open the `version.php` file in a text editor.
4. Locate the `$wp_version` variable.

   - Example:

     ```
     $wp_version = '6.6.1';
     ```
   - This indicates the installed WordPress version.

### 3. Using WP‑CLI (Command Line)

If WP‑CLI is installed and configured:

- Run the following command:

  ```bash
  wp core version
  ```
- The output will display the current WordPress version.

> **Note:**
- Always keep WordPress updated to the latest stable release for security and performance.
- If you’re using a managed WordPress plan on **ruachost.com**, updates may be applied automatically.
- Back up your site before performing any upgrades.
