@apollo/client npm code example Example: apollo client install npm install @apollo/client graphql # yarn yarn add @apollo/client graphql