HomeSandboxShowcaseAppDocBlog
    • EnglishEnglish
      EN
    • русскийRussian
      RU
    • 日本語Japanese
      JA
    • françaisFrench
      FR
    • 한국어Korean
      KO
    • 中文Chinese
      ZH
    • españolSpanish
      ES
    • DeutschGerman
      DE
    • العربيةArabic
      AR
    • italianoItalian
      IT
    • British EnglishBritish English
      EN-GB
    • portuguêsPortuguese
      PT
    • हिन्दीHindi
      HI
    • TürkçeTurkish
      TR
    • polskiPolish
      PL
    • IndonesiaIndonesian
      ID
    • Tiếng ViệtVietnamese
      VI
    • українськаUkrainian
      UK
    /
    Filter docs by framework
    Alt+←
    Why Intlayer ?
    Get Started
    Concept
    • How Intlayer Works
    • Configuration
    • TestFillBuildWatchExtractLoginPushPullConfigurationListVersionEditorLiveDebugDoc ReviewDoc TranslateSDK
    • Visual Editor
    • CMS
    • CI/CD Integration
    • TranslationPluralEnumerationConditionGenderInsertionFileNestingMarkdownHTMLFunction Fetching
    • Per Locale File
    • Compiler
    • Auto Fill
    • Testing
    • Bundle Optimization
    Environment
    • Next.js 14 and App Router
      Next.js 15
      Next.js no locale path
      Next.js and Page Router
      Compiler
    • Tanstack Start Solid
    • Astro and React
      Astro and Svelte
      Astro and Vue
      Astro and Solid
      Astro and Preact
      Astro and Lit
      Astro and Vanilla JS
    • React Router v7
      React Router v7 (fs-routes)
      Compiler
    • Nuxt and Vue
    • Vite and Solid
    • SvelteKit
    • Vite and Preact
    • Vite and Vanilla JS
    • Vite and Lit
    • Angular 19 (Webpack)
      Analog
    • React CRA
    • React Native and Expo
    • Express.js
      NestJS
      Fastify
      Hono
      Adonis
    • Lynx and React
    Plugins
    • JSON
    • gettext (.po)
    VS Code Extension
    Agent
    • MCP Server
    • Agent skills
    Releases
    • v8
    • v7
    • v6
    Benchmark
    • Next.js
    • TanStack
    • Vue
    • Solid
    • Svelte
    Blog
    Ask a question
    1. Documentation
    2. Concept
    3. CLI
    Creation:2024-08-11Last update:2026-03-31
    Reference this doc to your favorite AI assistant
    ChatGPT
    Claude
    DeepSeek
    Google AI mode
    Gemini
    Perplexity
    Mistral
    Grok

    Ask your question and get a summary of the document by referencing this page and the AI provider of your choice

    Version History

    1. "Add standalone command"
      v8.6.43/31/2026
    2. "Add CI command"
      v7.5.111/6/2026
    3. "Add projects list command"
      v7.5.111/6/2026
    4. "Add init command"
      v7.5.912/30/2025
    5. "Add extract command"
      v7.2.311/22/2025
    6. "Add skipIfExists option to translate command"
      v7.1.011/5/2025
    7. "Add aliases for CLI arguments and commands"
      v6.1.41/27/2025
    8. "Add build option to commands"
      v6.1.310/5/2025
    9. "Add version command"
      v6.1.29/26/2025
    10. "Set verbose option to default to true using CLI"
      v6.1.09/26/2025
    11. "Add watch command and with option"
      v6.1.09/23/2025
    12. "Add editor command"
      v6.0.19/23/2025
    13. "Add content test and list command"
      v6.0.09/17/2025
    14. "Update CLI command parameters documentation"
      v5.5.117/11/2025
    15. "Init history"
      v5.5.106/29/2025
    Edit this doc

    If you have an idea for improving this documentation, please feel free to contribute by submitting a pull request on GitHub.

    GitHub link to the documentation
    Copy

    Copy doc Markdown to clipboard

    Intlayer CLI - All Intlayer CLI commands for your multilingual website


    Table of Contents


    Install Package

    Install the necessary packages using npm:

    bash
    Copy code

    Copy the code to the clipboard

    npm install intlayer-cli -g
    If intlayer package is already installed, the cli is automatically installed. You can skip this step.

    intlayer-cli package

    intlayer-cli package intend to transpile your intlayer declarations into dictionaries.

    This package will transpile all intlayer files, such as src/**/*.content.{ts|js|mjs|cjs|json}. See how to declare your Intlayer declaration files.

    To interpret intlayer dictionaries you can interpreters, such as react-intlayer, or next-intlayer

    Configuration File Support

    Intlayer accepts multiple configuration file formats:

    • intlayer.config.ts
    • intlayer.config.js
    • intlayer.config.json
    • intlayer.config.cjs
    • intlayer.config.mjs
    • .intlayerrc

    To see how to configure available locales, or other parameters, refer to the configuration documentation here.

    Run intlayer commands

    Authentication

    • Login - Authenticate with the Intlayer CMS and get access credentials

    Core Commands

    • Build Dictionaries - Build your dictionaries from content declaration files
    • Watch Dictionaries - Watch for changes and automatically build dictionaries
    • Create Standalone Bundle - Create a standalone JavaScript bundle containing Intlayer and specified packages
    • Check CLI Version - Check the installed Intlayer CLI version
    • List Projects - List all Intlayer projects in a directory or git repository

    Dictionary Management

    • Push Dictionaries - Push dictionaries to the Intlayer editor and CMS
    • Pull Dictionaries - Pull dictionaries from the Intlayer editor and CMS
    • Fill Dictionaries - Fill, audit, and translate dictionaries using AI
    • Test Missing Translations - Test and identify missing translations
    • List Content Declaration Files - List all content declaration files in your project

    Component Management

    • Extract Strings - Extract strings from components into a .content file close to the component

    Configuration

    • Initialize Intlayer - Set up Intlayer in your project with automatic configuration
    • Manage Configuration - Get and push your Intlayer configuration to the CMS

    Documentation Management

    • Translate Document - Automatically translate documentation files using AI
    • Review Document - Review documentation files for quality and consistency

    Editor & Live Sync

    • Editor Commands - Use the Intlayer editor commands
    • Live Sync Commands - Use Live Sync to reflect CMS content changes at runtime

    CI/CD & Automation

    • CI Command - Run Intlayer commands with auto-injected credentials for CI/CD pipelines

    Development Tools

    • CLI SDK - Use the Intlayer CLI SDK in your own code
    • Debug Intlayer Command - Debug and troubleshoot Intlayer CLI issues

    Use intlayer commands in your package.json

    package.json
    Copy code

    Copy the code to the clipboard

    "scripts": {  "intlayer:init": "npx intlayer init",  "intlayer:login": "npx intlayer login",  "intlayer:build": "npx intlayer build",  "intlayer:watch": "npx intlayer build --watch",  "intlayer:standalone": "npx intlayer standalone --packages intlayer vanilla-intlayer",  "intlayer:push": "npx intlayer push",  "intlayer:pull": "npx intlayer pull",  "intlayer:fill": "npx intlayer fill",  "intlayer:list": "npx intlayer content list",  "intlayer:test": "npx intlayer content test",  "intlayer:extract": "npx intlayer extract",  "intlayer:projects": "npx intlayer projects list",  "intlayer:doc:translate": "npx intlayer doc translate",  "intlayer:doc:review": "npx intlayer doc review"}

    Note: You can also use the shorter aliases:

    • npx intlayer list instead of npx intlayer content list
    • npx intlayer test instead of npx intlayer content test
    • npx intlayer projects-list or npx intlayer pl instead of npx intlayer projects list
    Configuration
    Test
    Alt+→

    In this page

      Discussions are anonymous and regularly reviewed to address common issues. Feel free to share feature ideas, feedback on the documentation, or anything related to Intlayer, we use this input to shape our roadmap and improve the product.

      npm install intlayer-cli -g
      "scripts": {  "intlayer:init": "npx intlayer init",  "intlayer:login": "npx intlayer login",  "intlayer:build": "npx intlayer build",  "intlayer:watch": "npx intlayer build --watch",  "intlayer:standalone": "npx intlayer standalone --packages intlayer vanilla-intlayer",  "intlayer:push": "npx intlayer push",  "intlayer:pull": "npx intlayer pull",  "intlayer:fill": "npx intlayer fill",  "intlayer:list": "npx intlayer content list",  "intlayer:test": "npx intlayer content test",  "intlayer:extract": "npx intlayer extract",  "intlayer:projects": "npx intlayer projects list",  "intlayer:doc:translate": "npx intlayer doc translate",  "intlayer:doc:review": "npx intlayer doc review"}