How to replace an entire line in a text file by line number

sed -i 'Ns/.*/replacement-line/' file.txt