Fig Docs
  • 🏠Welcome to Fig
  • 👋Get Started
    • Download and Install
    • `fig home`
      • My Apps
      • The Sidebar
      • Settings
    • The Fig App Store
    • Hotkeys
  • 💪Autocomplete
  • 😀The Fig CLI
    • 1. Fig Overrides
    • 2. Fig Aliases
    • 3. $FIGPATH
    • 4. Fig Apps
  • 📖Interactive Runbooks
    • Form Elements
      • Input
      • Textarea
      • Dropdown
      • Checkboxes
      • Buttons
    • Templating & Interpolation
    • Scripting Language (Psilo)
      • Full List of Functions
    • Running Runbooks
    • Full Examples
  • ⚒️ Build your own CLI
    • `fig build`
    • .fig Files
  • 🧰Build your own App
    • Get Started
    • App Lifecycle
    • Key Concepts
      • Running Shell Commands
      • Reading Environment Variables
      • Accessing Files & Saving Data
      • Loading Local Resources
    • Window Managment
      • Setting Window Properties
      • Repositioning the Window
      • Focusing & Blurring the Window
    • Advanced
      • Creating a Pseudo-Terminal Session
  • Other
    • Fig for Teams
    • Security & Privacy
    • FAQ
    • Contact Us
  • Interactive Runbooks
Powered by GitBook
On this page
  • fig run
  • fig build
  • fig local
  • fig web
  • fig install
  • fig uninstall
  • fig update
  • fig utils
  • fig --help
  1. The Fig CLI

1. Fig Overrides

PreviousThe Fig CLINext2. Fig Aliases

Last updated 4 years ago

Fig has several commands that are native to the app and cannot be overridden

  1. fig run [name of .run file]

  2. fig local [path/to/file.html]

  3. fig build

  4. fig web [url]

  5. fig install [app identifier]

  6. fig uninstall [app identifier]

  7. fig utils

  8. fig --help

Fig aims to keep have as few native commands as possible. However, Fig may update them occasionally if it believes it will contribute meaningfully to the Fig ecosystem.

fig run

Render and display markdown or files in Fig. Files can be local or from the web.

fig run [.run file OR url]

Examples

  • fig run heroku --> Render the heroku file in Fig

    • Your terminal must be in the same working directory as the .run file

  • fig run http://gist.github.com/ --> Render the .run or .md file in Fig

    • Note: The URL must be raw markdown or rundown

fig build

fig build

fig local

Render and display local html files in the Fig window

fig local path/to/file.html

Examples

  • fig local index.html

  • fig local path/to/file.html

fig web

Open URLs in Fig's browser. Fig's lightweight browser gives you quick access to the sites you use most without leaving your Terminal

fig web [url]

Examples

  • fig web https://github.com/pull

  • fig web https://news.ycombinator.com

  • fig web https://notion.com

  • fig web https://my_company_slack_name.slack.com

fig install

Install an app using its unique identifier

fig install [app_name]

Note: This currently does work but is reserved for this purpose.

fig uninstall

fig uninstall [app_name]

Note: This currently does work but is reserved for this purpose.

fig update

Update Fig to the newest version.

fig update

Note: This currently does work but is reserved for this purpose.

fig utils

View Fig's developer utilities

fig utils

fig --help

fig --help

Build the schema for a .fig file to

Open the help page in in a tethered window.

😀
rundown
.run
build your own CLI
fig home