JavaScript: Installing

Install as package

You can install @supabase/supabase-js via the terminal.

npm install @supabase/supabase-js
yarn add @supabase/supabase-js
pnpm add @supabase/supabase-js

Install via CDN

You can install @supabase/supabase-js via CDN links.

<script src="https://cdn.jsdelivr.net/npm/@supabase/supabase-js@2"></script>
//or
<script src="https://unpkg.com/@supabase/supabase-js@2"></script>

Use at runtime in Deno

You can use supabase-js in the Deno runtime via JSR:

  import \{ createClient \} from 'jsr:@supabase/supabase-js@2'