Are you tired of using the same old regular shell? Are you a true skibidi sigma? Introducing Brainrot Shellโthe new shell that's only for those who know ๐
Originally built as a CodeCrafters "Build Your Own X" challenge, Brainrot Shell has been upgraded to be actually useful with added features.
- Windows (untested on other operating systems but should work the same way)
- Python 3 installed and added to your system PATH
You can download Python from the official Python website.
Follow these steps to install Brainrot Shell on your Windows system:
If you have Git installed, you can clone the repository:
# Replace `repository-url` with the actual URL of the Brainrot Shell repository
git clone https://github.com/whirlxd/brainrot-shell.git
- Visit the GitHub repository page.
- Click on the "Code" button and select "Download ZIP".
- Extract the contents to a folder on your computer.
Open Command Prompt and navigate to the directory where you saved the Brainrot Shell files:
cd path-to-brainrot-shell-folder
Execute the installation script by typing:
install.bat
Note: You may need to run Command Prompt as an administrator to ensure the script can modify system environment variables.
The script will:
- Copy
brainrot.py
and thecommands
directory to%USERPROFILE%\Scripts
. - Add
%USERPROFILE%\Scripts
to your system PATH if it's not already included. - Create a wrapper batch file
brainrot.bat
to run the shell.
Close all Command Prompt windows and open a new one to apply the changes to your PATH.
After installation, you can start using Brainrot Shell.
Open Command Prompt and type:
brainrot
You should see the Brainrot Shell prompt:
@brainrot ~$
Brainrot Shell is a toy shell but still incredibly useful. Here are some of the commands you can use:
Command | Description |
---|---|
ragequit |
Exit the shell. |
yap |
Display a line of text (similar to echo ). |
typeshi |
Display information about command types. |
pwd |
Print the current working directory. |
hawktuah |
Change the current directory. |
loot |
Display file contents. |
help |
Display the help message. |
map |
List files in the current directory. |
touch |
Create a new empty file. |
spawn |
Create a new directory. |
despawn |
Remove an empty directory. |
unalive |
Remove a directory w/its contents. |
wipeout |
Clear the session |
fanum |
View the top 20 processes and their tax (cpu usage) |
showgyatt |
Show the files in directory sorted by their size and with it |
ksi |
Get ksi to say anything (like cat say). |
thickofit |
Im in the thick of it everybody knows. |
@brainrot~$ yap "Hello, Brainrot!"
@brainrot~$ map
@brainrot~$ pwd
@brainrot~$ hawktuah path/to/directory
@brainrot~$ touch newfile.txt
@brainrot~$ spawn newdirectory
@brainrot~$ despawn olddirectory
@brainrot~$ loot file.txt
@brainrot~$ help
To exit Brainrot Shell, type:
@brainrot~$ ragequit
- Ensure that the installation script ran successfully.
- Verify that
%USERPROFILE%\Scripts
is added to your system PATH. - Restart Command Prompt to apply the changes to your PATH.
- Ensure that the
commands
directory is located in%USERPROFILE%\Scripts
. - The
install.bat
script should have copied thecommands
directory. Try running the installation script again.
- Ensure that Python 3.x is installed and added to your system PATH.
- You can verify by running:
python --version
To remove Brainrot Shell from your system:
Remove the following from %USERPROFILE%\Scripts
:
brainrot.py
brainrot.bat
commands
directory
If you added %USERPROFILE%\Scripts
to your PATH and no longer need it, you can remove it:
- Search for "Environment Variables" in the Start menu.
- Select "Edit the system environment variables".
- Click on "Environment Variables".
- Under "User variables" or "System variables", find and select PATH.
- Click "Edit" and remove
%USERPROFILE%\Scripts
from the list.
Close all Command Prompt windows and open a new one to apply the changes.
This project is licensed under the MIT License. See the LICENSE file for more information.
Contributions are welcome! Please open an issue or submit a pull request for any improvements. If you have a suggestion for a new name for a command or a new command, feel free to share it through an issue.
Inspired by the CodeCrafters "Build Your Own X" challenge. The readme was made with help of chatgpt ๐.