Back to Plugins
Console CLI

Console CLI

CLI for Figma. List elements, create shapes, get selection info, and check file analytics.

Plugin Preview

Console CLI preview

About this plugin

Console CLI lets you control Figma using commands. You can list fonts, styles, and components, create shapes, get details about selected elements, check file analytics, and view user info.


Commands:

  1. help : See available commands
  2. ls : Lists data related to fonts, styles, or components
  3. ls fonts : List all fonts used in the file
  4. ls styles : List all styles used in file file
  5. ls components : List all components in the file
  6. shape : Create a new shapes based on the specified type
  7. shape rect <width> <height> [x] [y] : Create rectangle
  8. shape circle <diameter> [x] [y] : Create circle
  9. shape ellipse <width> <height> [x] [y] : Create ellipse
  10. shape polygon <sides> <radius> [x] [y] : Create polygon
  11. shape star <points> <outer-radius> <inner-radius> [x] [y] : Create star
  12. selection : Info about the currently selected nodes
  13. selection --verbose : Additional details about the selection
  14. analytics : Retrieve file analytics
  15. whoami : Retrieves info about the current user
  16. clear : Clear the console
  17. exit : Close the plugin

Plugin Details

Version2
CreatedApril 7, 2025
Last UpdatedApril 8, 2025
CategorySoftware development
CreatorAbhimanyu Rana
Stats5 installs, 4 likes
PricingFree

Technical Details

  • API:1.0.0
  • UI:./plugin.html
  • main:./canvas.js
  • Document Access:dynamic-page
  • Editor Types:
    figma
  • Allowed Domains:
    • none