Problem with the terminal and the podfile

when I was editing pod file
my pod file after editing was

Uncomment the next line to define a global platform for your project

platform :ios, ‘9.0’

target ‘Instagram’ do

use_frameworks!

Pods for Instagram

Pod ‘Appirater’

Firebase

Pod ‘Firebase/Core’
Pod ‘Firebase/Auth’
Pod ‘Firebase/Database’
Pod ‘Firebase/Analatics’
Pod ‘Firebase/Crashlyrics’

end

but In terminal when I was writing pod install in terminal after specifying my project it was giving the error
[!] Invalid Podfile file: undefined method `Pod’ for #Pod::Podfile:0x00007f9e0542ce58.

if anyone knows how to solve it please tell me

its because it needs to be small p… just “pod” not “Pod”

thanks my friend …