How to install and run Notepad++ on a ChromeOS environment with the Linux Development Environment turned on


Script for heavy lifting of installing and setup of Notepad++ using Linux Development Environement on ChromeOS


This bash script is designed with a special use case. I have a computer lab that has been converted to ChromeOS using the FlexOS download and setup. All of the needed tools for the lab are web based with the exception of notepad++. I know there are alternatives to notepad++ but the curriculumn being used was designed specifically for notepad++. This script installs the snap version of notepad++ as it has the needed wine packages and configurations packaged.


The following are the steps to get notepad++ on a ChromeOS environment that has Linux Development Environment enabled.

  1. Go to ChromeOS settings, search for linux, then under the Linux Development Environment click the “Setup” button. Follow the onscreen setup.
  2. Use the ChromeOS app drawer to search for “Terminal” and launch it. Click on “penquin” to launch your linux terminal.
  3. Once linux has been configured and installed, type the following command and press enter to download the install script:
    $ wget
  4. Now that the script has been downloaded onto ChromeOS, you will need to open the Files application on ChromeOS and move the file from Downloads to Linux Files.
  5. Type the following command in the terminal and press enter to make sure the file exists in your linux home directory. If it does not exist then something in the steps above has gone wrong.
    $ ls
  6. Now make the file executable by typing the following command and pressing enter:
    $ chmod +x
  7. Run the install script by typing the command below and pressing enter:
    $ ./
  8. If the install script completed without issue then notepad++ should now be listed in the ChromeOS app drawer under the linux apps area.

Feel free to adjust the install script to meet your own needs, the line that executes the xhost + command in particular as this is generic for this project and can be a security risk.

This post is licensed under CC BY 4.0 by the author.