Downloads

Download and install ForSure tools for your development environment.

ForSure CLI

Command-line interface for generating and validating file structures.

npm

Install globally via npm package manager.

bash
npm install -g forsure-cli

Binary (macOS/Linux)

Download and install the binary directly.

Binary (Windows)

Download and install the Windows executable.

Installation Instructions

From npm

bash
# Install globally npm install -g forsure-cli # Verify installation forsure --version

From Binary (macOS/Linux)

bash
# Download the binary curl -L https://github.com/elicharlese/ForSure/releases/latest/download/forsure-cli-linux -o forsure # Make it executable chmod +x forsure # Move to a directory in your PATH sudo mv forsure /usr/local/bin/

From Binary (Windows)

1. Download the Windows executable

2. Add the executable location to your PATH environment variable

3. Open a new command prompt and verify with forsure --version

VS Code Extension

Enhance your development experience with syntax highlighting, snippets, and more.

ForSure for VS Code

Official VS Code extension with syntax highlighting, snippets, and validation.

Features

  • Syntax highlighting for .forsure files
  • Code snippets for common patterns
  • Real-time validation and error checking
  • Preview file structure in VS Code
  • Integration with ForSure CLI

Installation

Install directly from VS Code:

  1. Open VS Code
  2. Go to Extensions (Ctrl+Shift+X / Cmd+Shift+X)
  3. Search for "ForSure"
  4. Click "Install"

Or install from VSIX file:

Extension Preview

project.forsure - Visual Studio Code
EXPLORER
📁 src
📄 index.js
📁 utils
📁 assets
📄 project.forsure
📄 README.md
root:
# Main source code directory
- src:
    - index.js { entry: true }
    - utils:
        # Utility scripts
        - helpers.js
        - date.js { timezone: "UTC" }
# Assets for front-end design
- assets:
    - logo.svg
    - css:
        # Style sheets
        - theme.css
# Documentation file
- README.md
ForSure
UTF-8

Syntax Highlighting

Syntax highlighting for various text editors and IDEs.

Sublime Text

Syntax highlighting package for Sublime Text.

Atom

Syntax highlighting package for Atom editor.

JetBrains IDEs

Plugin for IntelliJ, WebStorm, and other JetBrains IDEs.

Manual Configuration

If your editor doesn't have a dedicated package, you can manually configure syntax highlighting:

Vim

vim
" Add to your .vimrc au BufRead,BufNewFile *.forsure set filetype=yaml au BufRead,BufNewFile *.fs set filetype=yaml

Emacs

lisp
;; Add to your .emacs or init.el (add-to-list 'auto-mode-alist '("\.forsure\'" . yaml-mode)) (add-to-list 'auto-mode-alist '("\.fs\'" . yaml-mode))

TextMate/BBEdit

Associate .forsure and .fs files with YAML syntax highlighting in your editor preferences.

Next Steps

Now that you've installed the ForSure tools, you can: