How to Install Sublime Text on Windows 10/11 (2025) | Step-by-Step Guide
Step-by-Step Guide to Install Sublime Text on Windows 10/11 (2025)
1. Introduction
Sublime Text is a fast, lightweight text editor used for writing and editing code and text. It is suitable for beginners and professionals. The free evaluation version can be used without any time limit.
Uses:
- Writing and editing text files
- Web development (HTML, CSS, JavaScript)
- Learning programming concepts
2. Installation on Windows
Step 1: Download Sublime Text
- Open a web browser and visit the official Sublime Text website: https://www.sublimetext.com/
- Click 'Download for Windows'.
Step 2: Run the Installer
- Open the Downloads folder.
- Double-click the setup file 'sublime_text_build_*_setup.exe'.
- Click 'Yes' if a security message appears.
Step 3: Install the Software
- Choose the install location (default is fine), then click Next.
- Select the option 'Add to explorer context menu', then click Next → Install.
- Wait for installation, then click Finish.
Step 4: Open Sublime Text
From Start Menu → Sublime Text or the desktop icon.
Step 5: Confirm Installation
Sublime Text opens successfully. A free evaluation message may appear (normal).
✅ Installation complete
3. Creating a Demo HTML File
Step 1: Create a New File
Open Sublime Text. Click File → New File.
Step 2: Write HTML & JavaScript Code
Type the following code:
<!DOCTYPE html>
<html>
<head>
<title>My First Web Page</title>
</head>
<body>
<h1>Hello World!</h1>
<p>This is my first demo in Sublime Text.</p>
<button onclick="alert('Hello')">Click Me</button>
</body>
</html>
Step 3: Save the File
- Click File → Save.
- Choose a folder.
- Enter the file name: demo.html.
- Click Save.
4. Running the Demo
Step 1: Open the HTML File in a Browser
- Navigate to the folder where you saved demo.html.
- Double-click the file. It will open in your default web browser (Chrome, Edge, etc.).
Step 2: Check Output
You will see:
- A heading: Hello World!
- A paragraph: This is my first demo in Sublime Text.
- Clicking the button shows a popup in the browser.







Comments
Post a Comment