Skip to content

Instantly share code, notes, and snippets.

View namnguyen02's full-sized avatar

Nam Nguyen namnguyen02

View GitHub Profile

How to install Postman on WSL2 without snap

  1. Download the latest tarball file of the Postman API Platform from its official website
cd Downloads && wget https://dl.pstmn.io/download/latest/linux_64
  1. Extract Postman Linux64 compressed file
tar -xvf linux64 -C ~/Applications
  1. Add this API testing tool to PATH

Build a flutter app in WSL2

Install, build and debug a flutter app in WSL2 (Windows Subsystem for Linux).

Linux setup

Install Java

To install the JDK, execute the following command, which will also install the JRE:

sudo apt install default-jdk

Add the following two lines to /etc/profile (setting the JAVA_HOME environment variable):