Photoshop is not the ideal software to create vector graphics, as it is primarily designed for working with raster images. However, if you have created a vector shape in Photoshop and want to save it as a vector file, follow these steps:
1. Select the vector shape in your Photoshop document.
2. Choose "Export As" from the File menu.
3. In the Export As dialog box, choose the file format you want to save your vector file in. The most commonly used vector file formats are SVG, EPS, and PDF.
4. Give your file a name and choose a location to save it.
5. Click the "Export" button to save your file in the chosen format.
6. In the next dialog box that appears, choose "Paths" as the output option. This will ensure that your vector shape is saved as a vector path.
7. Click "OK" to save the file.
Note that while this process will save your vector shape as a vector file, it may not retain all of the vector data and may not be editable in other vector software. For best results, it's recommended to create and edit vector graphics in software specifically designed for that purpose, such as Adobe Illustrator or Inkscape.