how to use alamofire pod in swift 5

Swift
We need to install the Alamofire Cocoapod.
Navigate to your project directory and type pod init to create your podfile.
Add the Alamofire pod to your podfile.
Save your podfile and run pod install.
Open the xcworkspace file and check that the Alamofire libraries are there.
An Alamofire request.
Source

Also in Swift: