In order to manually install Windows Server App Fabric for SharePoint 2013, first download the install file:
assuming you store the file at c:
run the following commands from an elevated PowerShell command line:
$file = “c:\WindowsServerAppFabricSetup_x64.exe”
& $file /i CacheClient”,”CachingService”,”CacheAdmin /gac
Note the double quotations around the commas.