Clatter LabsHelp Center

Why does Windows say "line is not recognized" after installing?

TroubleshootingUpdated

Usually the terminal was opened before the installer updated your PATH. Open a new PowerShell or Terminal window and try line --version again.

If it still isn't found#

  1. Check the file exists: Test-Path $HOME\.line\bin\line.exe should print True.
  2. Check your user PATH contains it:
    [Environment]::GetEnvironmentVariable('Path', 'User')
    
    Look for ...\.line\bin.
  3. If it's missing, add it:
    $d = Join-Path $HOME '.line\bin'
    [Environment]::SetEnvironmentVariable('Path', "$d;" + [Environment]::GetEnvironmentVariable('Path','User'), 'User')
    
    Then open a new window.
  4. Run it directly as a test: & "$HOME\.line\bin\line.exe" --version.

Other causes#

  • You installed with LINE_INSTALL_DIR set to another folder: use that folder instead.
  • An editor's built-in terminal (for example in an IDE) may need the whole app restarted to pick up the new PATH.

Related articles

Still need help?

Tried the steps above and still stuck? Email us. We usually reply within the first hour, and always within 24 hours. A full support team is with you.

Infrastructure questions, or permanent deletion of your data
infrastructure@clatterlabs.xyz
For deleting your whole account or the data of one service.