- 1 year ago
Jekyll installation via Bash on Windows 10
Comment
1 / 1
To install Jekyll via Bash on Windows 10, you can follow these steps:
Enable Windows Subsystem for Linux (WSL):
- Open PowerShell as Administrator.
- Run the following command:css
wsl --install
- Follow the prompts to enable WSL and install a Linux distribution (e.g., Ubuntu) from the Microsoft Store.
Launch the Linux distribution:
- Open the Start menu and search for the installed Linux distribution (e.g., Ubuntu).
- Launch the distribution, and it will open a Bash terminal.
Update package lists:
- In the Bash terminal, run the following commands to update the package lists:sql
sudo apt update
sudo apt upgrade
- In the Bash terminal, run the following commands to update the package lists:
Install required dependencies:
- Run the following command to install the dependencies required for Jekyll:sql
sudo apt install ruby-full build-essential zlib1g-dev
- Run the following command to install the dependencies required for Jekyll:
Install Jekyll and Bundler:
- Run the following commands to install Jekyll and Bundler:
sudo gem install jekyll bundler
- Run the following commands to install Jekyll and Bundler:
Verify Jekyll installation:
- Once the installation completes, verify that Jekyll is installed correctly by running:css
jekyll --version
- Once the installation completes, verify that Jekyll is installed correctly by running:
With these steps, you should have Jekyll successfully installed on your Windows 10 system using Bash (WSL). You can now use Jekyll to build and serve your Jekyll-based websites by navigating to your project directory in the Bash terminal and running the appropriate Jekyll commands.