Framer
  • Support
  • Using Framer
Framer
  • Learn
    • Speedruns
    • Starter Kit
    • Examples
    • Tutorials
    • Sessions
  • Teams
    • Teams
    • Enterprise
  • Pricing
  • Blog
  • Updates
  • Support
  • Support
  • Using Framer

Related Articles

  • Working with folder-backed projects
  • Integrating projects with git
  • Importing Package Components in code
  • Organizing your team package files
  • Shared Colors

Publishing from the CLI

In addition to publishing packages through Framer, you can also publish from the command line through the Framer Command Line Interface (CLI)

Use npx to run the package: ~ $ npx framer-cli help

Note: You may be asked to set a FRAMER_TOKEN, find out more about this in this article.

CommandDescription
authenticateProvides a special FRAMER_TOKEN to be used as an environment variable for publishing packages under the authenticated user's account.
buildEnsures that the project is in a valid state for publishing.
publishResponsible for building the project, managing project versioning, and publishing the project publically or to your team. This command requires a FRAMER_TOKEN environment variable for publishing. This token is unique to a given individual and is used for both authentication and determining the user’s available private packages space, if any.
helpPrints the usage instructions and provides additional information about different options available for each function. Running a given command with the --help flag will also show information for that given command.
Helpful?Was this article helpful?

0

0

Framer

  • Updates
  • Pricing
  • Tutorials
  • Teams
  • Enterprise
  • Blog
  • Motion

Platforms

  • Web
  • macOS
  • iOS
  • Android
  • Figma Importing
  • Sketch Importing
  • User Testing
  • Desktop PrototypingNew

Resources

  • Examples
  • Sessions
  • SpeedrunsNew
  • Packages
  • Volt
  • API
  • State of Prototyping
  • Wireframing Tool
  • Mockup Tool
  • Dictionary

About

  • Loupe
  • Community
  • Company
  • Careers
  • Security

Support

  • Using Framer
  • Accounts
  • Contact

  • Twitter
  • Discord
  • Dribbble

Copyright © 2021 Framer B.V.

  • Security
  • Terms of Service
  • Privacy Statement