A beautiful and powerful notes application that runs entirely in your terminal with a built-in text editor.
- Built-in Terminal Text Editor: Full-featured text editor that runs entirely in your terminal
- Real-time cursor navigation with arrow keys
- Line numbers and syntax highlighting
- Save with
Ctrl+S, Cancel withCtrl+C - Visual interface with Rich panels and status bar
- Markdown Support: Create and manage notes in markdown format
- Notebook Organization: Organize notes in notebooks (folders)
- Powerful Search: Search through your notes content
- Beautiful Interface: Rich terminal interface with colors and styling
- Template Support: Use templates for consistent note structure
- Quick Inbox: Rapidly capture thoughts and ideas
- Cross-Platform: Works on Windows, macOS, and Linux
- No External Dependencies: No need for vim, nano, or external editors
- Python 3.7 or higher
- pip (Python package installer)
- Git (for cloning the repository)
python --version
# or
python3 --versionIf you don't have Python installed, download it from python.org.
This method installs Terminal Notes as a global command on your system:
pip install git+https://github.com/aniJani/terminalNotes.gitThat's it! After installation, you can use the notes command anywhere in your terminal.
Verify installation:
notes --helpThis method is perfect if you want to contribute to the project or modify the code:
-
Clone the repository
git clone https://github.com/yourusername/terminal-notes.git cd terminal-notes -
Create a virtual environment (strongly recommended)
# On Windows Command Prompt python -m venv venv venv\Scripts\activate # On Windows PowerShell python -m venv venv venv\Scripts\Activate.ps1 # On macOS/Linux python3 -m venv venv source venv/bin/activate
-
Install in development mode
pip install -e .The
-eflag installs the package in "editable" mode, meaning changes to the code will be reflected immediately without reinstalling. -
Verify installation
notes --help
If you prefer not to install the package globally:
-
Download the repository
- Click the green "Code" button on GitHub
- Select "Download ZIP"
- Extract the ZIP file to your desired location
-
Navigate to the project directory
cd path/to/terminal-notes -
Install dependencies manually
pip install typer>=0.16.0 rich>=14.1.0
-
Run directly with Python
python notes.py --help
On Windows:
-
Check if Python Scripts is in PATH:
echo %PATH%
Look for a path like
C:\Users\YourName\AppData\Local\Programs\Python\Python3X\Scripts -
If not in PATH, add it manually:
- Open System Properties β Advanced β Environment Variables
- Edit the PATH variable
- Add your Python Scripts directory
-
Alternative: Use Python module syntax
python -m notes --help
On macOS/Linux:
-
Check if pip install location is in PATH:
echo $PATH python3 -m site --user-base
-
Add to PATH if needed (add to ~/.bashrc or ~/.zshrc):
export PATH="$PATH:$(python3 -m site --user-base)/bin"
-
Reload your shell:
source ~/.bashrc # or ~/.zshrc
On Windows:
- Run Command Prompt as Administrator
- Or use:
pip install --user git+https://github.com/aniJani/terminalNotes.git
On macOS/Linux:
- Use:
pip3 install --user git+https://github.com/aniJani/terminalNotes.git - Or install with sudo:
sudo pip3 install git+https://github.com/aniJani/terminalNotes.git
If you're using a virtual environment and the notes command isn't found:
-
Make sure your virtual environment is activated:
# You should see (venv) or similar in your prompt which python # On Unix where python # On Windows
-
Reinstall in the virtual environment:
pip install -e .
Before installing, verify you have the required components:
# Check Python version (3.7+ required)
python --version
# Check pip is available
pip --version
# Check git is available (for Method 1 and 2)
git --versionExpected output:
Python 3.11.5
pip 23.2.1
git version 2.41.0
After installation, you can use the notes command directly:
# Create your first note (opens the built-in editor)
notes new "My First Note"
# List all your notes
notes list
# Edit an existing note
notes edit "My First Note"
# View a note with beautiful markdown rendering
notes show "My First Note"
# Search through your notes (Search functions currently not working (in development))
notes search "keyword"
# Quick capture to inbox
notes add "Important reminder for later"
# Delete a note
notes delete "My First Note"The built-in terminal editor provides a modern editing experience:
- Arrow Keys: Navigate cursor
- Enter: New line
- Backspace: Delete character/join lines
- Ctrl+S: Save and exit
- Ctrl+C: Cancel without saving
- Line Numbers: Professional editor feel
- Real-time Status: See line/column position and character count
- Visual Cursor: Block cursor shows your exact position
- Multiple Lines: Full support for multi-line editing
# Create a note in a specific notebook
notes new "Meeting Notes" --notebook "Work"
# Create a note using a template
notes new "Daily Standup" --template "meeting"Create templates in the templates directory to standardize your notes:
- Find your notes directory:
notes listwill show the path - Navigate to the
templatesfolder - Create
.mdfiles that will be used as templates
Notes are stored in your system's application data directory:
- Windows:
%APPDATA%\terminal-notes-app\notes\ - macOS:
~/Library/Application Support/terminal-notes-app/notes/ - Linux:
~/.local/share/terminal-notes-app/notes/
"notes: command not found"
- Ensure you've installed the package:
pip install -e . - Check if your Python Scripts directory is in PATH
- Try restarting your terminal
"ModuleNotFoundError: No module named 'typer'"
- Install dependencies:
pip install typer rich - Make sure you're in the correct virtual environment
Editor not working on non-Windows systems
- The application includes a fallback text input mode
- You'll see prompts to enter content and type
---SAVE---to save
Permission errors
- On Unix systems, you might need to make the script executable
- Or run with
python3 -m notesinstead
If you encounter issues:
-
Check Python and pip versions
python --version pip --version
-
Reinstall the package
pip uninstall terminal-notes pip install -e . -
Run in debug mode
python notes.py --help
git clone https://github.com/yourusername/terminal-notes.git
cd terminal-notes
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -e .