Download and install ForSure tools for your development environment.
Command-line interface for generating and validating file structures.
Install globally via npm package manager.
npm install -g forsure-cliDownload and install the binary directly.
Download and install the Windows executable.
# Install globally
npm install -g forsure-cli
# Verify installation
forsure --version# 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/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
Enhance your development experience with syntax highlighting, snippets, and more.
Official VS Code extension with syntax highlighting, snippets, and validation.
Install directly from VS Code:
Or install from VSIX file:
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.mdSyntax highlighting for various text editors and IDEs.
Syntax highlighting package for Sublime Text.
Syntax highlighting package for Atom editor.
Plugin for IntelliJ, WebStorm, and other JetBrains IDEs.
If your editor doesn't have a dedicated package, you can manually configure syntax highlighting:
" Add to your .vimrc
au BufRead,BufNewFile *.forsure set filetype=yaml
au BufRead,BufNewFile *.fs set filetype=yaml;; 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))Associate .forsure and .fs files with YAML syntax highlighting in your editor preferences.
Now that you've installed the ForSure tools, you can: