yarn add @react-native-async-storage/async-storage code example Example: how to install asyncstorage in react native npm i @react-native-community/async-storage