Getting started with InstructIA involves two main steps: installing the tool globally and then initializing a context environment in your desired project directory.
First, install the instructia
command-line tool globally using npm:
npm install -g instructia
This makes the instructia
command available anywhere on your system.
Navigate to the directory where you want to manage your AI context (e.g., your project folder) and run the init
command:
# Initialize for Cursor IDE
instructia init cursor
# Or initialize with a specific language (e.g., Portuguese)
instructia init cursor --language=pt-BR
What instructia init cursor
Does:
Running the instructia init cursor
command performs the crucial setup within your current directory:
instructia/
.instructia/
, including:
context/
context/instructions/
context/data/
instructia/context/instructions/
with the default set of instructions.Ensure you have the following before proceeding:
npm install -g
). You need Node.js installed.After global installation, you can verify the tool is available by checking its version:
instructia version