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