#In the terminal, type the command below to install nano:
sudo apt-get -y install nano
#Then run the following command to open .bashrc:
nano ~/.bashrc
# The ~/ means the file is will be opened from your Home path,
#hence the file should be located in your Home directory by default.