Skip to main content

Win-Alias

Win-Alias is a simple CLI tool to create and manage Windows command aliases.

If you are tired of typing long commands or if you want to create custom command shortcuts, Win-Alias is for you. If you've used Linux before, you might be familiar with the alias command. Win-Alias brings this functionality to Windows.

Features

  • Create custom command aliases
  • List all created aliases
  • Display usage instructions

Installation

  1. Install from pip
    pip install win-alias
    

Usage

Create an Alias

To create a new alias, run:

win_alias create-alias
>> Enter the alias name: ld 
>> Enter the command:
dir
EOF
  • We can now use the alias ld to run the command dir.
  • EOF is used to indicate the end of the command. It is not part of the command.

By default, the alias is saved in the user's home directory in a subdirectory called aliases. Each alias is saved in a separate batch file with the alias name as the filename.

The very first time you create an alias, the aliases directory will need to be added to the system path. This is not needed for subsequent aliases.

The aliases will take effect after the system path is updated and the command prompt is restarted.

List All Aliases

To list all created aliases, run:

win_alias list-aliases

Display Usage Instructions

To display usage instructions, run:

win_alias --help Or
win_alias guide

Metadata

Release files for win-alias 1.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for win-alias 1.0.4
File Size Uploaded
win_alias-1.0.4.tar.gz 2.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for win-alias 1.0.4
File Interpreter ABI Platform
win_alias-1.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 6.2 kB

Release files / win_alias-1.0.4.tar.gz

Download URL win_alias-1.0.4.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
bc0b7086563b3e78a84da5a47a4a3cc5c69bb4bda1d21e59fc7b701d76467ca5
BLAKE2b-256 checksum
How to use checksums
f73c9820e0f1212ba43e0beffdbf462a689b0cf99a62a27b5ca75e25d0a36a9f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.1

Release files / win_alias-1.0.4-py3-none-any.whl

Download URL win_alias-1.0.4-py3-none-any.whl
Size 3.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
acfec105bf0fb6d5d1f4b28067874aed8904c29c6225b52f11bceae7c96f3d68
BLAKE2b-256 checksum
How to use checksums
498a93320798855f31a186130975042bada584a1479e867e2d0b567af53cee23
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.1

Release history Release notifications | RSS feed

This release

1.0.4 This release

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page