Sublime Forum

Using PowerShell to install packages

#1

Is there a way to install packages to SublimeText 4 in Windows using a powershell script?

I’m trying to create a .ps1 script that would setup my development machines automatically and it is using chocolatey to install Sublime Text, however, I haven’t been able to find a way to use this script to install packages. Is that even possible?

0 Likes

#2

Package control keeps User/Package Control.sublime-settings with all your installed packages and will automatically download those if they aren’t installed. You can manually/automatically install package control as described here: https://packagecontrol.io/installation.

0 Likes