Giter Club home page Giter Club logo

make-terminal-cuter's Introduction

English | Tiếng Việt

How to Make Terminal Cute

Want to make your terminal cute like this? You've come to the right place UwU!

💻 Setup

📌 Requirements

⬇️ Installation

Copy and run the command line by line in Terminal.

# Optional: Needed to run a remote script the first time
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
# Install Scoop
irm get.scoop.sh | iex
# Install git if you haven't already
scoop install git

⚙️ Windows Terminal Settings

Set Default profile as Windows PowerShell

Settings > Default profile > Windows PowerShell

But if you want to use PowerShell Core for extra features like autocomplete instead of using Windows PowerShell you can install it with winget command or in Microsoft Store.

📝 Note
Use arrow keys for autocomplete

winget install --id Microsoft.Powershell --source winget
WindowsTerminal_DNLT9SzQ7K.mp4

Adjust some settings to suit you and choose Font face to CaskaydiaCove NF (Sorry CaskaydiaCove NF actually broken icons at some theme so use FiraCode Nerd Font instead) some other fonts may not render icons properly.

nerd_fonts.mp4

Add a 🎨 Color Scheme for Terminal, select the ones you like in Windows Terminal Themes and paste them in settings.json.

color_scheme.mp4

📦 Install Oh My Posh

Oh My Posh is a prompt theme engine that enables prompt string beautification. Please ensure that you followed the previous instructions precisely because this engine needs your Terminal to utilize a Nerd Font.

# Open a PowerShell prompt and run the following command
winget install JanDeDobbeleer.OhMyPosh -s winget
# Used when your Oh My Posh theme is outdated
winget upgrade JanDeDobbeleer.OhMyPosh -s winget

Now close Terminal and open it again.

# Let's start with the default theme
oh-my-posh init pwsh --config "$env:POSH_THEMES_PATH\jandedobbeleer.omp.json"

Run the command and copy the command it shows up and continue running.

default_themes.mp4
# Now let's pick your theme
Get-PoshThemes
# Pick your theme and run the command
oh-my-posh --init --shell pwsh --config <path-to-your-theme>
# Example
oh-my-posh init pwsh --config ~AppData\Local\Programs\oh-my-posh\themes\{theme-name}.omp.json | Invoke-Expression
your_theme.mp4

Since when opening a new Terminal window it will not have the Oh My Posh theme, so we will configure the PowerShell profile script so that every time we turn on Terminal, it will automatically use the theme we have selected.

# Create a PowerShell profile script if you don't have one
New-Item -Path $PROFILE -Type File -Force
# Open profile script with Notepad. Copy the command you used to initialize the theme earlier. Paste the command into the profile script and save it
notepad $PROFILE
profile_script.mp4
# Once added, reload your profile for the changes to take effect
. $PROFILE

Terminal-Icons is a PowerShell module to add file and folder icons to your PowerShell prompt. This module requires a Nerd Font to be installed and used in your Terminal.

# Install Terminal-Icons
Install-Module -Name Terminal-Icons -Repository PSGallery
# Import Terminal-Icons module into your PowerShell profile script
Import-Module Terminal-Icons
Code_0AHbD3JjoU.mp4

🔌 Install Neofetch / Winfetch

Both Neofetch and Winfetch are command-line system information utilities that display information about your operating system, software, and hardware in an aesthetic and visually pleasing way. But Winfetch will be more personalized, so if you want to be fast, you can use Neofetch.

🪟 Neofetch

# Install Neofetch
scoop install neofetch
# Run Neofetch
neofetch
neofetch.mp4

🪟 Winfetch

# Install Winfetch
scoop install winfetch
# Install PowerShellGet module if you don't have one
Install-Script -Name pwshfetch-test-1
Success

Choose “Yes” for any prompts you encountered.

# Restart your Terminal. Then, run winfetch to see if it’s correctly installed
winfetch
winfetch.mp4

🖼️ Custom Image for Winfetch

Because Windows Terminal cannot produce full quality graphics, the Windows logo to the left can be altered to a custom "image" that looks more like a low resolution pixel art.

⚠️ Important
Copy path to your image.
Go to this path to edit the config file:

C:\Users\%USERPROFILE%\.config\winfetch\config.ps1
custom_image.mp4

That's all the steps to make your Terminal more cutie. If you have any questions feel free to contact me (。•̀ᴗ-)✧.

make-terminal-cuter's People

Contributors

miyagawamizu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

lostarrows27

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.