Installation
Installation
Section titled “Installation”Get Jac installed and ready to use in under 2 minutes.
Requirements
Section titled “Requirements”- Python 3.12+ (check with
python --version)
Quick Install
Section titled “Quick Install”pip install jaseciThe jaseci package is a meta-package that bundles all Jac ecosystem packages together. This installs:
jaclang- The Jac language and compilerbyllm- AI/LLM integrationjac-client- Full-stack web developmentjac-scale- Production deploymentjac-super- Enhanced console output
Verify the installation:
jac --versionThis also warms the cache, making subsequent commands faster.
Installation Options
Section titled “Installation Options”Minimal Install (Language Only)
Section titled “Minimal Install (Language Only)”If you only need the core language:
pip install jaclangIndividual Plugins
Section titled “Individual Plugins”Install plugins as needed:
# AI/LLM integrationpip install byllm
# Full-stack web developmentpip install jac-client
# Production deployment & scalingpip install jac-scale
# Enhanced console outputpip install jac-superVirtual Environment (Recommended)
Section titled “Virtual Environment (Recommended)”# Create environmentpython -m venv jac-env
# Activate itsource jac-env/bin/activate # Linux/Macjac-env\Scripts\activate # Windows
# Install Jacpip install jaseciIDE Setup
Section titled “IDE Setup”VS Code (Recommended)
Section titled “VS Code (Recommended)”Install the official Jac extension for the best development experience:
Option 1: From Marketplace
- Open VS Code
- Click Extensions in the sidebar (or press
Ctrl+Shift+X/Cmd+Shift+X) - Search for “Jac”
- Click Install on “Jac Language Support” by Jaseci Labs
Or install directly: Open in VS Code Marketplace
Option 2: Quick Install
Press Ctrl+P / Cmd+P and paste:
ext install jaseci-labs.jaclang-extensionFeatures:
- Syntax highlighting for
.jacfiles - Intelligent autocomplete
- Real-time error detection
- Hover documentation
- Go to definition
- Graph visualization
Cursor
Section titled “Cursor”- Download the latest
.vsixfrom GitHub releases - Press
Ctrl+Shift+P/Cmd+Shift+P - Select “Extensions: Install from VSIX”
- Choose the downloaded file
Verify Installation
Section titled “Verify Installation”jac --versionExpected output:
_ (_) __ _ ___ Jac Language | |/ _` |/ __| | | (_| | (__ Version: 0.X.X _/ |\__,_|\___| Python 3.12.3|__/ Platform: Linux x86_64
📚 Documentation: https://docs.jaseci.org💬 Community: https://discord.gg/6j3QNdtcN6🐛 Issues: https://github.com/Jaseci-Labs/jaseci/issuesUpgrading Jac
Section titled “Upgrading Jac”When upgrading to a new version of Jaseci packages, clear the bytecode cache to avoid compatibility issues:
# Upgrade packagespip install --upgrade jaseci
# Clear the global bytecode cachejac purge⚠️ Important: After upgrading, always run
jac purgeto clear stale bytecode. Skipping this step can cause errors like “No module named ‘jaclang.pycore’”, “NodeAnchor is not a valid reference”, or the setup hanging during compilation.
If you encounter issues during first-time setup or after upgrading, jac purge is your first troubleshooting step.
For Contributors
Section titled “For Contributors”See the Contributing Guide for development setup.
Next Steps
Section titled “Next Steps”- Hello World - Write your first program
- Build Your First App - Build a complete full-stack application