Getting Started With Jac and Jaseci
Installation#
Firstly make sure that Python 3.12 or higher is installed in your environment, then simply install Jac using pip:
Once you've got Jaclang installed, just give the Jac CLI a try to make sure everything's up and running smoothly.
- Start the Jac CLI:
- Run a .jac file
- To test run a 'Hello World' Program
Note
If these commands prints
Hello world
you are good to go.
Installing the VS Code Extension#
In addition to setting up JacLang itself, you may also want to take advantage of the JacLang language extension for Visual Studio Code (VSCode) or Cursor. This will give you enhanced code highlighting, autocomplete, and other useful language features within your editor environment.
For VS Code users: - Visit the VS Code marketplace and install the Jac Extension
For Cursor users:
1. Go to the latest Jaseci release page
2. Download the latest jaclang-extension-*.vsix
file from the release assets
3. Open Cursor
4. Press Ctrl+Shift+P
(or Cmd+Shift+P
on Mac)
5. Type >install from vsix
and select the command
6. Select the downloaded VSIX file
7. The extension will be installed and ready to use
Next Steps#
- Jac in a Flash - See Jac's Syntax with a Toy
- A Robust Example - See something real in Jac
- Jac Playground - Experience Jac in Browser