1) Slice off any large pieces of fat from your pork and cut it into about 1-inch cubes. Pat the cubes dry and season them well with salt and pepper.
2) Add one tablespoon oil to a large (6 or 8 quart) pressure cooker over medium-high heat. Brown meat in two batches on all sides, about 8 minutes per batch. Remove pork from pan when it’s nicely browned.
3) Heat other tablespoon of oil in the pan (you may not need this tablespoon if there is lots of fat from the pork in the pan). Add onions and a pinch of kosher salt. Cook for 4-5 minutes until onions soften, then add minced garlic and spices.
4) Cook for 30 seconds until spices are fragrant, then stir in flour and cook for a minute.
5) Whisk in broth, scraping up any bits stuck to the pan. Stir in tomatoes, vinegar, sugar, and browned pork plus any juices that accumulated with the pork.
6) Stir everything together, lock the pressure cooker lid and place over medium-high heat. When pot reaches high pressure, reduce heat to medium low and cook for 30 minutes, adjusting heat to maintain high pressure.
7) After 30 minutes, remove from heat and let pressure release naturally for 15 minutes. When pressure allows, remove lid and let steam escape away from you.
8) Bring vindaloo to a simmer and season with salt and pepper. Stir in cilantro or basil and serve immediately over rice.