TERMy installation problem
DEV Community

TERMy installation problem

NPC-Forge is a framework for building conversational agents with distinct personalities, multi-turn context, sentiment analysis, and tool-call support. NPCs run on the CPU (web browser or OS) even on embedded systems and obsolete hardware without relying on machine learning or LLMs.

#!/usr/bin/env bash
# Clone the forge from the cloud
git clone https://github.com/gioblu/NPC-Forge.git
# Step into the forge and install it
cd NPC-Forge && chmod +x setup.sh && ./setup.sh
# Install TERMy
npc-forge install npcs/termy
# Chat with TERMy
termy how are you

It is giving an error after running the above script. termy.sh: line 9: npc-forge: command not found termy.sh: line 12: termy: command not found Even after refreshing the ".bashrc" script it did not work.

Temporarily add the standard local bin to your path by running: export PATH="$HOME/.local/bin:$PATH" -bash: /home/username/NPC-Forge/npcs/termy/termy.sh: No such file or directory

Solution

Then the following solution worked after many frustrating attempts.

  • Clear the old cached paths and rescan your system for the new location hash -r
  • Check for a broken alias type termy
  • Navigate back to the cloned folder cd ~/NPC-Forge
  • Make sure the script is executable chmod +x npcs/termy/termy.sh
  • Re-run the installation npc-forge install npcs/termy
  • Test it again termy how are you

Now it worked!!! I hope this helps.

https://github.com/gioblu/NPC-Forge/tree/main/npcs/termy

NPC-Forge is a framework for building conversational agents with distinct personalities, multi-turn context, sentiment analysis, and tool-call support. NPCs run on the CPU (web browser or OS) even on embedded systems and obsolete hardware without relying on machine learning or LLMs.

Top comments (0)

Read on DEV Community ↗ ← Back to News

Comments

No comments yet. Start the discussion.