West Ham United have appointed David Moyes as their manager following the sacking of Slaven Bilic, the Premier League club said on Tuesday.