Skip to content

2d-game-dev/Beginner-Shell-With-Node.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Mini Shell (Node.js)

A minimal Unix-like shell written in Node.js.

This project was built as a learning exercise, guided by the CodeCrafters “Build Your Own Shell” challenge.
It is not a copy-paste tutorial project — the goal was to understand how shells work internally and implement core behavior step by step.


Features

  • Interactive shell prompt
  • Built-in commands:
    • echo
    • cd
    • pwd
    • ls
    • type
    • exit
  • External command execution via $PATH
  • Executable detection and basic error handling
  • Maintains shell working directory across commands

The project will be improved over time with:

  • additional commands
  • bug fixes
  • better argument handling
  • missing shell features

Running the shell

node main.js

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors