According to Apple the iPhone 6 is compatible with iOS 11 so you should be able to upgrade the iOS with no problem. Go to Settings, General, Software Uodate and you phone will check for & download the latest iOS. You need to be connected via Wi-Fi to upgrade the software.