© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago•
13 replies
Ludvig

CLI via NPM doesn't work

Repost from https://github.com/supabase/cli/issues/441

https://github.com/supabase/cli/issues/127#issuecomment-1226884931

Let the powershell terminal speak for itself
> npm i supabase
changed 1 package, and audited 526 packages in 3s
found 0 vulnerabilities

> npx supabase -h
'supabase' is not recognized as an internal or external command,
operable program or batch file.
> npm i supabase
changed 1 package, and audited 526 packages in 3s
found 0 vulnerabilities

> npx supabase -h
'supabase' is not recognized as an internal or external command,
operable program or batch file.


I have tried doing it using the global flag too. I have my PATH environment variables set up correctly too, so that's not the issue.
> npm i supabase -g     

added 14 packages, and audited 15 packages in 4s
found 0 vulnerabilities

> npm list -g --depth 0
C:\Users\Username\AppData\Roaming\npm
└── supabase@1.4.2

> supabase login
supabase : The term 'supabase' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the 
name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ supabase login
+ ~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (supabase:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
> npm i supabase -g     

added 14 packages, and audited 15 packages in 4s
found 0 vulnerabilities

> npm list -g --depth 0
C:\Users\Username\AppData\Roaming\npm
└── supabase@1.4.2

> supabase login
supabase : The term 'supabase' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the 
name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ supabase login
+ ~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (supabase:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException


NPM version: 8.3.1
Node version: 17.4.0
Docker version: 20.10.17, build 100c701
OS: Windows 10 Pro (21H2 19044.1949) 64bit
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Can't install supabase cli from NPM
SupabaseSSupabase / help-and-questions
4y ago
supabase init doesn't work on cli after npx supabase
SupabaseSSupabase / help-and-questions
3w ago
UpdateUser doesn't work.
SupabaseSSupabase / help-and-questions
13mo ago
CLI supabase start doesn't start anymore
SupabaseSSupabase / help-and-questions
4mo ago