In one of her first acts as a startup investor, actress Priyanka Chopra recently toured the San Francisco home of her new portfolio company, a coding education company called Holberton School.

The campus resembles a WeWork more than a school, with open-plan rows of desks, decorative neon lights and meeting rooms named after famous people. The school uses projects and group learning instead of more traditional courses, to teach software development.

“You just hang out and you’re learning,” Chopra said. “It’s amazing.”

Chopra, 36, has been doing a lot of hanging out and learning in technology circles lately. In between presenting at the Emmys, sitting in the front row at New York Fashion Week, celebrating the birthday of fiance Nick Jonas in Texas, and darting to her native India to act in a movie, she has squeezed in meetings with startup founders and lined up future investments.

“Geeks are taking over the world,” Chopra said. “If they haven’t already,” she quickly added.

MBA BY THE BAY: See how an MBA could change your life with SFGATE's interactive directory of Bay Area programs.

There’s no shortage of celebrities investing in tech startups. So far, deals from male actors, athletes and musical artists have garnered much more attention than those from famous women. Ashton Kutcher is a regular at tech conferences; Carmelo Anthony and Nas have their own funds; Leonardo DiCaprio has been an adviser to at least three venture firms.

Tyra Banks and Beyoncé have participated in startup deals. But few women have built robust portfolios.

Chopra said she did not yet know how many deals she will do or how much money she would invest, but she does plan to build a portfolio.

Last week, she announced her second investment, in Bumble, a dating and social media app founded by Whitney Wolfe Herd, one of the most prominent startup founders in tech. Chopra plans to help promote Bumble’s release in India in the coming months.

Chopra was introduced to tech investing by her manager, Anjula Acharia, a founder and angel investor who spent time as an entrepreneur-in-residence and partner at Trinity Ventures, a Menlo Park venture capital firm. Acharia has worked with Chopra since 2010.

Acharia was the first investor in ClassPass, a fitness booking startup; she made a return on the company’s most recent round of funding. She’s also invested in Bulletproof Coffee, Health-Ade Kombucha and the Muse, a jobs website.

She said Jimmy Iovine, a mentor who backed her entertainment startup, DesiHits, taught her how to anticipate cultural trends.

Acharia has straddled Hollywood and Silicon Valley and says that, as an Indian woman, she has been a rarity in both worlds. On weekends, at the Hollywood parties she has frequented with Chopra, Acharia noticed they were often the only South Asians in attendance.

Then, on weekday meetings with entrepreneurs and partners at Trinity Ventures, she was often the only woman. “I was always a minority,” she said.

With the Holberton involvement, Acharia and Chopra are making an effort to help change the tech industry’s gender disparity. After the musical performer Ne-Yo invested in Holberton and began to promote the school to his fans, applications from underrepresented minorities increased. Now, two-thirds of Holberton’s students are people of color, and 30 percent are women.

Chopra plans to promote the school to her fans as well.

“If one day, because of Priyanka, it became 100 percent women, I’d be cool with that,” Acharia said.

Founded in 2015, Holberton teaches students to code for free, then collects 17 percent of their paychecks for 3½ years after they graduate. All of its graduates have found jobs. Chopra’s investment is part of an $8.2 million round of funding that closed in April. She will join the Holberton board of advisers.

Chopra emphasized her support for Holberton’s mission to educate people from underprivileged backgrounds. Her investments will largely be devoted to companies with an element of social impact, and companies founded by women.

“I don’t want to just be one of those people who’s like, ‘Yeah, I want to be on the tech bandwagon — how are they making so much money?’” she said, surveying the Holberton work space in a cream pantsuit and snakeskin stilettos. “It’s not about that.”

Since 2006, Chopra has worked with UNICEF to advocate for children’s rights, focusing mostly on developing nations. But a dinner conversation with Acharia around the time of the 2016 election turned to education in America. That led Acharia to introduce Chopra to the Holberton School’s founders.

“I think Holberton was the gateway drug for Priyanka,” Acharia said.

Kutcher’s venture firm, Sound Ventures, is often cited as the most successful example of a celebrity investing in tech startups. Kutcher’s investments, made while working alongside talent manager Guy Oseary, include several of this tech wave’s most successful startups, like Airbnb, Uber and Spotify, as well up-and-comers like Bird and Casper.

At a recent conference, Kutcher was asked to offer advice to the scores of celebrities and athletes joining the tech investing fray. Kutcher said he dedicated a lot of time to becoming a credible venture capitalist, including attending every Y Combinator demo day for the past decade.

“If you want to have a job, you’ve got to do the work. It takes time, and a ton of mistakes,” he said.

Chopra said she found Kutcher’s investment approach inspiring.

“I’m extremely open to listening, learning and absolutely dedicating a part of my life to this,” she said.

Acharia plans to keep presenting her with new investment ideas. “Maybe we’re the new Ashton and Guy,” she said.

Erin Griffith is a New York Times writer.