https://github.com/alex868-max/windows-cli-guide
Explore essential CMD and PowerShell commands in this interactive guide. Enhance your terminal skills with scripts and helpful comparisons. 🚀👨💻
https://github.com/alex868-max/windows-cli-guide
chocolatey cli cmd cmd-scripts edge-impulse linha-de-comando linux-cli nodejs privacy qemu-kvm ubuntu-bionic uninstall uwp virt-manager vnc-server windows-terminal winget winget-cli
Last synced: 6 months ago
JSON representation
Explore essential CMD and PowerShell commands in this interactive guide. Enhance your terminal skills with scripts and helpful comparisons. 🚀👨💻
- Host: GitHub
- URL: https://github.com/alex868-max/windows-cli-guide
- Owner: alex868-max
- Created: 2025-06-27T18:17:07.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-06-27T20:55:18.000Z (6 months ago)
- Last Synced: 2025-06-27T21:34:59.095Z (6 months ago)
- Topics: chocolatey, cli, cmd, cmd-scripts, edge-impulse, linha-de-comando, linux-cli, nodejs, privacy, qemu-kvm, ubuntu-bionic, uninstall, uwp, virt-manager, vnc-server, windows-terminal, winget, winget-cli
- Homepage: https://alex868-max.github.io
- Size: 3.84 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Windows CLI Guide: Master CMD, PowerShell, Winget & More! 🚀

[](https://github.com/alex868-max/windows-cli-guide/releases)
---
## Overview
Welcome to the **Windows CLI Guide**! This repository serves as a visual guide to help you learn the essential commands for CMD, PowerShell, Winget, Chocolatey, and other terminal interfaces. Whether you're a beginner or just looking to sharpen your skills, this guide is a handy resource for navigating the command line world.
---
## Table of Contents
1. [What is CLI?](#what-is-cli)
2. [Getting Started](#getting-started)
3. [Key Topics](#key-topics)
- [CMD](#cmd)
- [PowerShell](#powershell)
- [Winget](#winget)
- [Chocolatey](#chocolatey)
- [Batch Scripts](#batch-scripts)
4. [Installation Instructions](#installation-instructions)
5. [Usage Examples](#usage-examples)
6. [Contributing](#contributing)
7. [License](#license)
---
## What is CLI?
CLI stands for Command Line Interface. It allows users to interact with the operating system by typing commands into a terminal. Unlike graphical user interfaces (GUIs), CLIs offer a more direct and efficient way to control your system, especially for repetitive tasks.
---
## Getting Started
To get started with this guide, simply download the latest release from our [Releases section](https://github.com/alex868-max/windows-cli-guide/releases). Make sure to execute the downloaded files to access the full features of this guide.
---
## Key Topics
### CMD
The Command Prompt (CMD) is a built-in Windows application that allows users to execute commands. Here are some basic commands to get you started:
- `dir`: Lists the files and directories in the current directory.
- `cd`: Changes the current directory.
- `copy`: Copies files from one location to another.
### PowerShell
PowerShell is a more advanced command-line shell and scripting language. It is designed for system administration and automation. Key commands include:
- `Get-Process`: Displays a list of all running processes.
- `Set-ExecutionPolicy`: Changes the user preference for the PowerShell script execution policy.
- `Get-Service`: Retrieves the status of services on your machine.
### Winget
Winget is the Windows Package Manager. It allows you to install, upgrade, and manage software packages from the command line. Common commands are:
- `winget install `: Installs a specified package.
- `winget upgrade`: Upgrades all installed packages.
- `winget list`: Lists all installed packages.
### Chocolatey
Chocolatey is a package manager for Windows. It simplifies the installation of software. Here are some commands you can use:
- `choco install `: Installs a package.
- `choco upgrade `: Upgrades a specific package.
- `choco uninstall `: Uninstalls a package.
### Batch Scripts
Batch scripts are text files that contain a series of commands to be executed by the command line. They can automate repetitive tasks. A simple batch script might look like this:
```batch
@echo off
echo Hello, World!
pause
```
---
## Installation Instructions
1. Visit the [Releases section](https://github.com/alex868-max/windows-cli-guide/releases) to download the latest version.
2. Once downloaded, extract the files if they are in a compressed format.
3. Open your terminal (CMD or PowerShell).
4. Navigate to the directory where you extracted the files.
5. Execute the main script to start using the guide.
---
## Usage Examples
Here are some practical examples to help you understand how to use the commands effectively.
### Example 1: Using CMD to List Files
Open CMD and type:
```cmd
dir
```
This command will display all files and folders in the current directory.
### Example 2: Using PowerShell to Get Running Processes
Open PowerShell and type:
```powershell
Get-Process
```
This will list all the processes currently running on your machine.
### Example 3: Installing Software with Winget
To install a package using Winget, open your terminal and type:
```cmd
winget install 7zip
```
This command will download and install 7zip on your machine.
### Example 4: Managing Packages with Chocolatey
To install a software package using Chocolatey, use:
```cmd
choco install git
```
This will install Git on your system.
### Example 5: Creating a Batch Script
Create a new text file and save it with a `.bat` extension. Add the following commands:
```batch
@echo off
echo Welcome to the Batch Script!
pause
```
Run the script by double-clicking the file.
---
## Contributing
We welcome contributions to improve this guide. If you have suggestions, corrections, or additional commands to add, please fork the repository and submit a pull request. Make sure to follow the contribution guidelines.
---
## License
This project is licensed under the MIT License. See the LICENSE file for details.
---
Feel free to explore the various commands and examples in this guide. For further information, visit the [Releases section](https://github.com/alex868-max/windows-cli-guide/releases) to download the latest updates and features.